Package | Description |
---|---|
org.junit.jupiter.api.condition |
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
|
org.junit.jupiter.migrationsupport |
Support for migrating from JUnit 4 to JUnit Jupiter.
|
org.junit.jupiter.params |
JUnit Jupiter extension for parameterized tests.
|
Modifier and Type | Class and Description |
---|---|
interface |
DisabledForJreRange
@DisabledForJreRange is used to signal that the annotated test class or
test method is only disabled for a specific range of Java Runtime
Environment (JRE) versions from DisabledForJreRange.min() to DisabledForJreRange.max() . |
interface |
DisabledIfEnvironmentVariable
@DisabledIfEnvironmentVariable is used to signal that the annotated test
class or test method is disabled if the value of the specified
environment variable matches the specified
regular expression. |
interface |
DisabledIfSystemProperty
@DisabledIfSystemProperty is used to signal that the annotated test
class or test method is disabled if the value of the specified
system property matches the specified
regular expression. |
interface |
DisabledOnJre
@DisabledOnJre is used to signal that the annotated test class or
test method is disabled on one or more specified Java
Runtime Environment (JRE) versions. |
interface |
DisabledOnOs
@DisabledOnOs is used to signal that the annotated test class or
test method is disabled on one or more specified
operating systems. |
interface |
EnabledForJreRange
@EnabledForJreRange is used to signal that the annotated test class or
test method is only enabled for a specific range of Java Runtime
Environment (JRE) versions from EnabledForJreRange.min() to EnabledForJreRange.max() . |
interface |
EnabledIfEnvironmentVariable
@EnabledIfEnvironmentVariable is used to signal that the annotated test
class or test method is only enabled if the value of the specified
environment variable matches the specified
regular expression. |
interface |
EnabledIfSystemProperty
@EnabledIfSystemProperty is used to signal that the annotated test
class or test method is only enabled if the value of the specified
system property matches the specified
regular expression. |
interface |
EnabledOnJre
@EnabledOnJre is used to signal that the annotated test class or
test method is only enabled on one or more specified Java
Runtime Environment (JRE) versions. |
interface |
EnabledOnOs
@EnabledOnOs is used to signal that the annotated test class or
test method is only enabled on one or more specified
operating systems. |
Modifier and Type | Class and Description |
---|---|
interface |
EnableJUnit4MigrationSupport
EnableJUnit4MigrationSupport is a class-level annotation that
enables all JUnit 4 migration support within JUnit Jupiter. |
Modifier and Type | Class and Description |
---|---|
interface |
ParameterizedTest
@ParameterizedTest is used to signal that the annotated method is a
parameterized test method. |
Copyright © 2020. All rights reserved.