-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow to supply tags via an extension #3932
Comments
This comment was marked as spam.
This comment was marked as spam.
@MDOluka, it appears that you are using AI to create your responses. If so, please refrain from doing that, since it does not add value to the discussions. |
Hi @reda-alaoui, Congratulations on opening your first issue for JUnit 5. 👍
The Consequently, a Jupiter extension cannot provide tags. The tags sourced from Thus, it sounds like you might be able to achieve your goal via a custom See Registering a PostDiscoveryFilter in the User Guide for details and let us know if that suits your needs. Cheers, Sam |
i read the Junit user guide and also do some research using a.i but not to create responses. |
Hi @sbrannen ,
I tried to use My goal is not to make sure only tests of the module run. My goal is to run a full build including all modules and telling which tests should run via tags. I have projects where the same tag will be shared by 2 modules. |
I have a multi maven module project and CI configured to split test executions among multiple groups. To do that, I use property
groups
ofmaven-surefire-plugin
. I want each test to be tagged with the name of the module it belongs to. For example, all tests of modulefoo
should be tagged@Tag("foo")
.Meta-annotations are not good enough because someone will forget to annotate a test class.
Since Extension can be registered as service loaders, it'd be nice to be able to provide the tag information from an Extension.
The text was updated successfully, but these errors were encountered: