Skip to content

Introduce extension API for executing test in user-defined thread #157

@schauder

Description

@schauder

Overview

I couldn't find a way to write an extension that changes the behavior of test execution.

Examples of what I would like to do are:

  • let each test run 100x in 5 threads to check for race conditions
  • let a test execute in the Swing EDT Thread.

Such use cases were easy to implement with JUnit 4 Rules, and I used especially the second a lot. So I think it would be bad to lose this option in JUnit Jupiter.

Proposals

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions