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

Continuous testing: not all tests are re-run automatically #17557

Closed
sdaschner opened this issue May 31, 2021 · 4 comments · Fixed by #17573
Closed

Continuous testing: not all tests are re-run automatically #17557

sdaschner opened this issue May 31, 2021 · 4 comments · Fixed by #17573
Labels
Milestone

Comments

@sdaschner
Copy link
Contributor

Describe the bug

In quarkus:dev in 2.0.0.CR2, not all tests are re-executed automatically on save, only @QuarkusTest annotated ones.

To Reproduce

The Quarkus playground project contains a Maven plain unit test (*Test), an integration tests (*IT), and a @QuarkusTest.

Expected behavior

I expected all tests to be continuously re-executed -- or none at all.

Specifying -Dquarkus.test.type=all had no effect.

@sdaschner sdaschner added the kind/bug Something isn't working label May 31, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented May 31, 2021

/cc @stuartwdouglas

@stuartwdouglas
Copy link
Member

It only re-runs changed and failing tests. It is mentioned here: https://github.com/quarkusio/quarkus/blob/main/docs/src/main/asciidoc/continuous-testing.adoc#2-introduction

We use instrumentation to detect which tests cover which code so we don't waste time running irrelevant tests.

@stuartwdouglas
Copy link
Member

Actually looks like something else is going on here

@sdaschner
Copy link
Contributor Author

@stuartwdouglas Yes, in my case all the three tests failed equally... Looking forward to the PR :)

@quarkus-bot quarkus-bot bot added this to the 2.1 - main milestone Jun 1, 2021
@gsmet gsmet modified the milestones: 2.1 - main, 2.0.0.CR3 Jun 3, 2021
gsmet pushed a commit to gsmet/quarkus that referenced this issue Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants