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

allow to run set of tests using test selection expression #33513

Closed
maxandersen opened this issue May 22, 2023 · 2 comments
Closed

allow to run set of tests using test selection expression #33513

maxandersen opened this issue May 22, 2023 · 2 comments

Comments

@maxandersen
Copy link
Member

Description

I feel we had this at some point but haven't been able to find it ....

Would be great to enable to run tests matching a specific naming pattern and/or choice or test tags expressions.

Implementation ideas

maybe shift+R queries you for naming pattern and tags expression (preferably with some kind of history of past used expressions):

name pattern: org.acme.test.db.*
tags expression: no-io

would run tests in org.acme.test.db.* packages and only those with tag no-io
or

name pattern: *System*
tags expression: 

will run test with System in name ignoring any tags.

@maxandersen
Copy link
Member Author

idea is to have it be a persistent "filter" to be able to run again and again instead of full / automatic selected test suite

@maxandersen
Copy link
Member Author

@stuartwdouglas reminded me about https://quarkus.io/guides/continuous-testing#quarkus-test-dev-testing-test-config_quarkus.test.include-tags

turns out possible to set via "test" command - but test --help is broken so hard to discover.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant