Skip to content
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

QuarkusTestProfileAwareClassOrderer should support configuring a "secondary" orderer, e.g. for @Order #21892

Closed
famod opened this issue Dec 2, 2021 · 0 comments · Fixed by #22579
Labels
area/testing kind/enhancement New feature or request
Milestone

Comments

@famod
Copy link
Member

famod commented Dec 2, 2021

Description

Within the defined ordering "groups" (e.g. @QuarkusTest without profile, @QuarkusTest with profile etc.), this orderer always orders alphanumerically, but there are cases where you might want to have more influence, e.g. via @Order or use random ordering.

Implementation ideas

The idea is to delegate ordering within those "groups" to a "secondary" orderer that should be configurable via junit-platform.properties.
The default should be https://junit.org/junit5/docs/5.8.0/api/org.junit.jupiter.api/org/junit/jupiter/api/ClassOrderer.ClassName.html.

Ideally, even non-standard orderers should be supported (by configuring the FQCN of the orderer to intantiate?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant