Skip to content

Feature Request: Add similar functionality to junit ResourceLock annotation #3241

@bdrx312

Description

@bdrx312

JUnit has a @ResourceLock annotation (https://docs.junit.org/current/api/org.junit.jupiter.api/org/junit/jupiter/api/parallel/ResourceLock.html) that can be added to a test to prevent scheduling at the same time of any tests that utilize the shared resource. There are several times that I have had a set of tests that I do not want to run at the same time as each other but still want to run in parallel with other tests. The tests are not dependent on each other. I have not found an elegant way to make these tests run at mutually exclusive. Please add a way to mark that certain tests will not be scheduled to run at the same time as each other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions