Skip to content

Commit

Permalink
Merge pull request #19029 from bdevreugd-vialis/patch-1
Browse files Browse the repository at this point in the history
Updated documentation for `quarkus.test.arg-line`
  • Loading branch information
geoand authored Jul 28, 2021
2 parents fdddf2a + 9ca6859 commit 8033e5e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/src/main/asciidoc/tests-with-coverage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,7 @@ In order to run the integration tests as a jar with the Jacoco agent, add the fo
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<maven.home>${maven.home}</maven.home>
<quarkus.test.argLine>${argLine}</quarkus.test.argLine>
<!-- If your integration tests require a different profile, you can set that here as well.
<quarkus.test.native-image-profile>it</quarkus.test.native-image-profile>
-->
<quarkus.test.arg-line>${argLine}</quarkus.test.arg-line>
</systemPropertyVariables>
</configuration>
</execution>
Expand All @@ -317,6 +314,8 @@ In order to run the integration tests as a jar with the Jacoco agent, add the fo
----

WARNING: Sharing the same value for `quarkus.test.arg-line` might break integration test runs that test different types of Quarkus artifacts. In such cases, the use of maven profiles is advised.

== Setting coverage thresholds for the Maven build

You can set thresholds for code coverage using the Jacoco Maven plugin. Note the element `<dataFile>${project.build.directory}/jacoco-quarkus.exec</dataFile>`. You must set it matching your choice for `quarkus.jacoco.data-file`.
Expand Down

0 comments on commit 8033e5e

Please sign in to comment.