Package org.junit.jupiter.api.parallel
JUnit Jupiter API for influencing parallel test execution.
-
Interface Summary Interface Description ResourceLocksProvider AResourceLocksProvideris used to programmatically add shared resources to a test class or its test methods dynamically at runtime. -
Class Summary Class Description ResourceLocksProvider.Lock Lockrepresents a shared resource.Resources Common resource names for synchronizing test execution. -
Enum Summary Enum Description ExecutionMode Supported execution modes for parallel test execution.ResourceAccessMode The access mode required by a test class or method for a given resource.ResourceLockTarget ResourceLockTargetis used to define the target of a shared resource. -
Annotation Types Summary Annotation Type Description Execution @Executionis used to configure the parallel execution mode of a test class or test method.Isolated @Isolatedis used to declare that the annotated test class should be executed in isolation from other test classes.ResourceLock @ResourceLockis used to declare that the annotated test class or test method requires access to a shared resource identified by a key.ResourceLocks @ResourceLocksis a container for one or more@ResourceLockdeclarations.