Annotation Interface RabbitAvailable
@ExtendWith(RabbitAvailableCondition.class)
@Target(TYPE)
@Retention(RUNTIME)
@Documented
public @interface RabbitAvailable
Test classes annotated with this will not run if there is no broker on localhost.
- Since:
- 2.0.2
- Author:
- Gary Russell
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Requires the management plugin to be available.boolean
Purge the test queues after each test.String[]
The queues to create and ensure empty; they will be deleted after the test class completes.String[]
The queues to create and ensure empty; they will be deleted after the test class completes.
-
Element Details
-
value
The queues to create and ensure empty; they will be deleted after the test class completes.- Returns:
- the queues.
- Since:
- 2.2
- Default:
- {}
-
queues
The queues to create and ensure empty; they will be deleted after the test class completes.- Returns:
- the queues.
- Default:
- {}
-
management
boolean managementRequires the management plugin to be available.- Returns:
- true to require a management plugin.
- Default:
- false
-
purgeAfterEach
boolean purgeAfterEachPurge the test queues after each test.- Returns:
- true to purge (default).
- Since:
- 2.2
- Default:
- true
-