Hello All,I'm new to JUnit Framework and I would like to ask few questions: why TestCase and TestSuite need to implement the same interface Test? why TestCase and BaseTestRunner need to implement the same interface TestResult?
Mahmoud Allam<br /> <br />SCJP 1.5<br />SCWCD 1.4
posted 9 years ago
These are matters of JUnit's internal implementation. The developers wanted to have these abstractions and they probably had their reasons. As an "end user" (in this case, a programmer writing unit tests with JUnit), you don't need to worry about those abstractions.