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 | Description |
---|---|---|
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 |
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 | Description |
---|---|---|
interface |
EnableJUnit4MigrationSupport |
EnableJUnit4MigrationSupport is a class-level annotation that
enables all JUnit 4 migration support within JUnit Jupiter. |
Modifier and Type | Class | Description |
---|---|---|
interface |
ParameterizedTest |
@ParameterizedTest is used to signal that the annotated method is a
parameterized test method. |
Copyright © 2019. All rights reserved.