Annotation Interface ManualMode
@Inherited
@Documented
@Target(TYPE)
@Retention(RUNTIME)
@Tag("wildfly-manual")
public @interface ManualMode
Indicates a test is a manual mode test. Meaning the test itself is responsible for the lifecycle of the server. If
auto-start is set to
true, the server will start at the beginning of the test.
Manual mode tests are automatically tagged with "wildfly-manual" to allow selective test execution.
- Author:
- James R. Perkins
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf set totrue, indicates the server should start at the beginning of the test.
-
Element Details
-
value
boolean valueIf set totrue, indicates the server should start at the beginning of the test. If set tofalse, the server will not be running for the test until explicitly started.- Returns:
trueto auto-start the server when the test is started, otherwisefalseto control the lifecycle
- Default:
false
-