Top Description Interfaces Annotations Classes Enums
module org.junit.jupiter.api

Package org.junit.jupiter.api.parallel

Annotations
@NullMarked
Imports
org.jspecify.annotations.NullMarked

JUnit Jupiter API for influencing parallel test execution.

Interface Summary

Modifier and TypeInterface and Description
public interface
ResourceLocksProvider

A ResourceLocksProvider is used to programmatically add shared resources to a test class or its test methods dynamically at runtime.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Execution

@Execution is used to configure the parallel execution mode of a test class or test method.

public @interface
Isolated

@Isolated is used to declare that the annotated test class should be executed in isolation from other test classes.

public @interface
ResourceLock

@ResourceLock is used to declare that the annotated test class or test method requires access to a shared resource identified by a key.

public @interface
ResourceLocks

@ResourceLocks is a container for one or more @ResourceLock declarations.

Class Summary

Modifier and TypeClass and Description
public class
Resources

Common resource names for synchronizing test execution.

Enum Summary

Modifier and TypeEnum and Description
public enum
ExecutionMode

Supported execution modes for parallel test execution.

public enum
ResourceAccessMode

The access mode required by a test class or method for a given resource.

public enum
ResourceLockTarget

ResourceLockTarget is used to define the target of a shared resource.