Package junit.framework
Interface Test
- All Known Implementing Classes:
ActiveTestSuite,JUnit4TestAdapter,JUnit4TestCaseFacade,RepeatedTest,TestCase,TestDecorator,TestSetup,TestSuite
public interface Test
A Test can be run and collect its results.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintCounts the number of test cases that will be run by this test.voidrun(TestResult result) Runs a test and collects its result in a TestResult instance.
-
Method Details
-
countTestCases
int countTestCases()Counts the number of test cases that will be run by this test. -
run
Runs a test and collects its result in a TestResult instance.
-