Annotation Interface LongRunningTest
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@EnabledIf("#{environment[\'RUN_LONG_INTEGRATION_TESTS\'] == \'true\'}")
public @interface LongRunningTest
JUnit Jupiter condition 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.- Since:
- 5.1
- Author:
- Artem Bilan