com.clarkware.junitperf
Class TestMethodFactory
- Test
public class TestMethodFactory
The
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, ...);
...
- Mike Clark
- Clarkware Consulting, Inc.
TestMethodFactory(Class testClass, String testMethodName)- Constructs a
TestMethodFactory instance.
|
TestMethodFactory
public TestMethodFactory(Class testClass,
String testMethodName) Constructs a TestMethodFactory instance.
testClass - The TestCase class to load test.testMethodName - The name of the test method to load test.
Copyright B) 1999-2005 Clarkware Consulting, Inc.