@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
public @interface MultiUserTestConfig
Configure the test class to use the desired runner and change the default expected
exception. The default test class runner can be changed by using the runner()
property. This annotation can be inherited so it can be set for a base class.
If the provided class runners don't suit the needs custom class runner can be created.
Helper class RunnerDelegate
implements the basic
functionality of the class runner.
The runner class has to have a constructor with:
Class
: Test classUserIdentifier
: used producer identifierUserIdentifier
: used consumer identifierFor more information please see the existing implementations.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class |
runner
Test class runner to use
|