com.clarkware.junitperf
public class TestMethodFactory extends TestFactory
TestMethodFactory class is a TestFactory
that creates thread-local TestSuite instances containing
a specific test method of a TestCase.
A typical usage scenario is as follows:
Test factory = new TestMethodFactory(YourTestCase.class, "testSomething"); LoadTest test = new LoadTest(factory, numberOfUsers, ...); ...
See Also: TestFactory LoadTest
| Constructor Summary | |
|---|---|
| TestMethodFactory(Class testClass, String testMethodName)
Constructs a TestMethodFactory instance.
| |
| Method Summary | |
|---|---|
| protected TestSuite | makeTestSuite() |
TestMethodFactory instance.
Parameters: testClass The TestCase class to load test. testMethodName The name of the test method to load test.