Skip to content

Commit

Permalink
Merge pull request #17821 from geoand/#17812
Browse files Browse the repository at this point in the history
Add note in guide about @QuarkusIntegrationTest and the test phase
  • Loading branch information
geoand authored Jun 10, 2021
2 parents 1b5f778 + d006dc5 commit 7e28c83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/main/asciidoc/getting-started-testing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1088,6 +1088,12 @@ Finally, if a container image was created during the build (by using including t

As is the case with `@NativeImageTest`, this is a black box test that supports the same set features and has the same limitations.

[NOTE]
====
As the `@QuarkusIntegrationTest` tests the result of the build, it should be run as part of the integration test suite - i.e., via the `maven-failsafe-plugin` if using Maven or an additional task if using Gradle.
These tests will **not** work if run in the same phase as `@QuarkusTest` as Quarkus has not yet created the final artifact.
====

[[test-from-ide]]
== Running `@QuarkusTest` from an IDE

Expand Down

0 comments on commit 7e28c83

Please sign in to comment.