01: package com.clarkware.junitperf;
02:
03: import junit.framework.Test;
04: import junit.framework.TestSuite;
05:
06: /**
07: * The <code>ExamplePerfTestSuite</code> demonstrates how to
08: * assemble a test suite containing performance-related tests.
09: *
10: * @author <b>Mike Clark</b>
11: * @author Clarkware Consulting, Inc.
12: */
13:
14: public class ExamplePerfTestSuite {
15:
16: public static Test suite() {
17:
18: TestSuite suite = new TestSuite();
19:
20: suite.addTest(ExampleTimedTest.suite());
21: suite.addTest(ExampleLoadTest.suite());
22:
23: // Add more performance tests here.
24:
25: return suite;
26: }
27:
28: public static void main(String args[]) {
29: junit.textui.TestRunner.run(suite());
30: }
31: }
|