We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tests annotated with @QuarkusMainTest and @TestProfile will always run despite the TestProfile has a different tags than the settings.
@QuarkusMainTest
@TestProfile
If the TestProfile's tags do not matched the setting, tests should not run.
No response
quarkus dev -Dquarkus.test.profile.tags=b
o
r
bugTest
'a'
tags()
quarkus dev -Dquarkus.test.profile.tags=a
testOk
'b'
uname -a
ver
Darwin 24.0.0 Darwin Kernel Version 24.0.0: Wed Aug 7 03:09:57 PDT 2024; root:xnu-11215.1.9~22/RELEASE_ARM64_T8112 arm64
java -version
openjdk version "21.0.5" 2024-10-15 LTS
quarkus 3.15.1
mvnw --version
gradlew --version
Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
The text was updated successfully, but these errors were encountered:
quarkus.test.profile.tags
Thanks for the great reproducer!
#44371 fixes the issue
Sorry, something went wrong.
a82eba2
Merge pull request #44371 from geoand/#44118
5810fca
Make @QuarkusMainTest respect `quarkus.test.profile.tags`
Make @QuarkusMainTest respect quarkus.test.profile.tags
0fe6369
Fixes: quarkusio#44118 (cherry picked from commit a82eba2)
442fb93
Fixes: quarkusio#44118
Successfully merging a pull request may close this issue.
Describe the bug
Tests annotated with
@QuarkusMainTest
and@TestProfile
will always run despite the TestProfile has a different tags than the settings.Expected behavior
If the TestProfile's tags do not matched the setting, tests should not run.
Actual behavior
No response
How to Reproduce?
quarkus dev -Dquarkus.test.profile.tags=b
o
and pressr
to run the unit tests with output on.bugTest
still run despite it's TestProfile only return'a'
intags()
getterquarkus dev -Dquarkus.test.profile.tags=a
testOk
, which TestProfile has'b'
tag only, will not run.Output of
uname -a
orver
Darwin 24.0.0 Darwin Kernel Version 24.0.0: Wed Aug 7 03:09:57 PDT 2024; root:xnu-11215.1.9~22/RELEASE_ARM64_T8112 arm64
Output of
java -version
openjdk version "21.0.5" 2024-10-15 LTS
Quarkus version or git rev
quarkus 3.15.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
Additional information
No response
The text was updated successfully, but these errors were encountered: