1package junit.framework;
2
3/**
4 * A <em>Test</em> can be run and collect its results.
5 *
6 * @see TestResult
7 */
8public interface Test {
9	/**
10	 * Counts the number of test cases that will be run by this test.
11	 */
12	public abstract int countTestCases();
13	/**
14	 * Runs a test and collects its result in a TestResult instance.
15	 */
16	public abstract void run(TestResult result);
17}