Skip to content

Improve documentation on @Execution annotation usage for parallel test execution #4525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 19, 2025

Conversation

2897robo
Copy link
Contributor

This PR improves the documentation for JUnit 5's parallel test execution.

  • Adds a concise example for using the @Execution annotation with ExecutionMode.CONCURRENT.
  • Helps users understand how to opt-in per-class parallel execution.

I hereby agree to the terms of the JUnit Contributor License Agreement.

Issue: #2669

@marcphilipp marcphilipp linked an issue May 13, 2025 that may be closed by this pull request
2 tasks
@2897robo
Copy link
Contributor Author

Hi @marcphilipp 👋

Just wanted to kindly check in and see if you could review this PR when you have time.

It adds a clear example for the @Execution(CONCURRENT) usage as discussed in #2669, and I hope it helps clarify parallel execution configuration for users.

Let me know if anything needs to be updated — happy to revise!

Thanks again for your time and guidance. 🙏

@2897robo
Copy link
Contributor Author

Hi @marcphilipp 👋

I've addressed all requested changes:

  • Removed the redundant @Execution subsection
  • Moved the example to ExplicitExecutionModeDemo.java and included it via include::
  • Added both class-level and method-level @Execution annotations
  • Removed the redundant configuration table

Let me know if there's anything else to revise.
Thanks again for your thorough review and time! 🙏

@marcphilipp marcphilipp merged commit 4b94ce4 into junit-team:main May 19, 2025
13 checks passed
marcphilipp added a commit that referenced this pull request May 19, 2025
@marcphilipp
Copy link
Member

@2897robo Thank you for you contribution! 👍

@2897robo 2897robo deleted the docs/improve-parallel-execution branch May 20, 2025 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve documentation on Parallel Test Execution
2 participants