Package com.clarkware.junitperf
package com.clarkware.junitperf
-
ClassDescriptionThe
ConstantTimer
is aTimer
with a constant delay.TheLoadTest
is a test decorator that runs a test with a simulated number of concurrent users and iterations.TheRandomTimer
is aTimer
with a random delay and a uniformly distributed variation.TheTestFactory
class creates thread-localTestSuite
instances.TheTestMethodFactory
class is aTestFactory
that creates thread-localTestSuite
instances containing a specific test method of aTestCase
.TheThreadBarrier
class provides a callback method for threads to signal their completion.TheThreadedTest
is a test decorator that runs a test in a separate thread.TheThreadedTestGroup
is aThreadGroup
that catches and handles exceptions thrown by threads created and started byThreadedTest
instances.TheTimedTest
is a test decorator that runs a test and measures the elapsed time of the test.TheTimer
interface defines the common interface implemented by all classes whose instances serve as pluggable timers.