You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,7 +241,7 @@ javadoc...).
241
241
Be sure to test your pull request in:
242
242
243
243
1. Java mode
244
-
2. Native mode
244
+
2. Native mode (with `-Dnative`)
245
245
246
246
Also, make sure that any native tests you add will actually get executed on CI.
247
247
In the interest of speeding up CI, the native build job `native-tests` have been split into multiple categories which
@@ -549,6 +549,15 @@ this is by executing the following command:
549
549
./mvnw test -f integration-tests/resteasy-jackson/ -Dtest=GreetingResourceTest
550
550
```
551
551
552
+
#### Running integration tests
553
+
554
+
Most `@QuarkusIntegrationTest` tests in the Quarkus codebase only run when `-Dnative` is added to the command line.
555
+
Using the `verify` goal and adding `-DskipITs=false` is *not* enough to run these tests.
556
+
Note that this is a behaviour difference to what's [documented externally](https://quarkus.io/guides/getting-started-testing#quarkus-integration-test).
557
+
558
+
Why the different behaviour? Quarkus builds are _long_, and running every integration test twice would make them even longer.
559
+
In most cases, coverage in the native build is sufficient.
560
+
552
561
##### Maven Invoker tests
553
562
554
563
For testing some scenarios, Quarkus uses the [Maven Invoker](https://maven.apache.org/shared/maven-invoker/) to run
0 commit comments