Test (see Figure B-5) is an interface implemented by TestCase and TestSuite . A Test can be run and its results collected in a TestResult . It is an important abstraction, since both individual unit tests and sets of tests are run via the Test interface.
public interface Test
None (it's an interface).
Returns the number of test cases run by this Test .
Runs the Test and collect its results in a TestResult .