Skip to content

Conversation

marcphilipp
Copy link
Member

@marcphilipp marcphilipp commented Jun 5, 2025

Overview

The new methods allow configuring the execution mode of dynamic tests
and containers as well as the default child execution mode for dynamic
containers in addition to all previously existing properties.

Resolves #2497.


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


Definition of Done

The new methods allow configuring the execution mode of dynamic tests
and containers as well as the default child execution mode for dynamic
containers in addition to all previously existing properties.
@marcphilipp marcphilipp force-pushed the marc/2497-dynamic-test-api-proposal branch from 2815054 to bae2aac Compare October 2, 2025 12:04
* Remove `executionCondition` due to package cycle
* Use `self()` pattern for builders to avoid duplication
* Make `Configuration` `sealed`
@marcphilipp marcphilipp force-pushed the marc/2497-dynamic-test-api-proposal branch from bae2aac to 286c786 Compare October 2, 2025 12:05
Copy link
Member

@sormuras sormuras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API and implementation looks good - API documentation and tests are in the works?

Good to see that the former code can be rewritten to use the new API.

@marcphilipp
Copy link
Member Author

API documentation and tests are in the works?

Not yet. I first wanted to get some feedback on the API.

@marcphilipp marcphilipp changed the title Add new factory methods to DynamicTest and DynamicContainer Allow configuring execution mode of dynamic tests and containers Oct 7, 2025
@marcphilipp marcphilipp marked this pull request as ready for review October 7, 2025 09:47
@marcphilipp marcphilipp requested a review from sormuras October 7, 2025 09:47
@marcphilipp marcphilipp merged commit 1f7be03 into main Oct 7, 2025
16 checks passed
@marcphilipp marcphilipp deleted the marc/2497-dynamic-test-api-proposal branch October 7, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parallelization control of DynamicNode
2 participants