Menu

#20 NoUnit fails with indirect subclasses of TestCase

open
nobody
None
5
2003-05-19
2003-05-19
Anonymous
No

Given the following hierarchy, nounit reports incorrect
results:

class MyOwnTestCase extends
junit.framework.TestCase{
// some basic methods easying setup
}

class FooTest extends MyOwnTestCase {
// test cases exercising Foo methods
}

The methods of class Foo are not registered as being
tested.

Discussion


Log in to post a comment.