Skip to content

Commit

Permalink
Add note in guide about @QuarkusIntegrationTest and the test phase
Browse files Browse the repository at this point in the history
Relates to: #17812
  • Loading branch information
geoand committed Jun 10, 2021
1 parent d485042 commit d006dc5
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 d006dc5

Please sign in to comment.