-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Quarkus CLI test are run even if --no-tests
is specified
#18391
Comments
/cc @ebullient, @gsmet, @maxandersen |
Currently, the CLI is documented to default run the test and then the user can control it with @ebullient What I suggest is that we change the command line option to I will prepare a PR with this behavior and we can discuss it there. |
i must not have tested this properly, but I know how the negation works, and the tests/no-tests is preferred.. probably need to adjust a little, but I do not want to move to skip. |
The default is just wrong then :) |
Describe the bug
When building using the CLI with command
quarkus build --no-tests
the tests are still executed.Expected behavior
No tests should be run
Actual behavior
Tests are run
To Reproduce
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
Or attach an archive containing the reproducer to the issue.
Steps to reproduce the behavior:
quarkus create app -a bug-reproducer
cd bug-reproducer
quarkus build --no-tests
Configuration
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Output of
uname -a
orver
Darwin tqvarnst-mac 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode, sharing)
GraalVM version (if different from Java)
Quarkus version or git rev
2.0.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Quarkus CLI
Additional context
(Add any other context about the problem here.)
The text was updated successfully, but these errors were encountered: