Class | Description |
---|---|
BrokerRunning |
A rule that prevents integration tests from failing if the Rabbit broker application is
not running or not accessible.
|
BrokerRunningSupport |
A class that can be used to prevent integration tests from failing if the Rabbit broker application is
not running or not accessible.
|
BrokerTestUtils |
Global convenience class for all integration tests, carrying constants and other utilities for broker set up.
|
JUnitUtils |
Utility methods for JUnit rules and conditions.
|
JUnitUtils.LevelsContainer | |
LogLevelAdjuster |
A JUnit method @Rule that changes the logger level for a set of classes
while a test method is running.
|
LogLevelsCondition |
JUnit condition that adjusts and reverts log levels before/after each test.
|
LongRunningIntegrationTest |
Rule to prevent long running tests from running on every build; set environment
variable RUN_LONG_INTEGRATION_TESTS on a CI nightly build to ensure coverage.
|
LongRunningIntegrationTestCondition |
ExecutionCondition to skip long running tests unless an environment
variable or property is set. |
RabbitAvailableCondition |
JUnit5
ExecutionCondition . |
Exception | Description |
---|---|
BrokerRunningSupport.BrokerNotAliveException |
The
RuntimeException thrown when broker is not available
on the provided host port. |
Annotation Type | Description |
---|---|
LogLevels |
Test classes annotated with this will change logging levels between tests.
|
LongRunning |
Test classes annotated with this will not run if an environment variable or system
property (default
RUN_LONG_INTEGRATION_TESTS ) is not present or does not have
the value that Boolean.parseBoolean(String) evaluates to true . |
RabbitAvailable |
Test classes annotated with this will not run if there is no broker on localhost.
|