Skip to content

Commit

Permalink
Add note about using Jacoco with a multi-module project
Browse files Browse the repository at this point in the history
Fixes: #30555
  • Loading branch information
geoand committed Apr 20, 2023
1 parent 48002fc commit b6e524f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/src/main/asciidoc/tests-with-coverage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ There are some config options that affect this:

include::{generated-dir}/config/quarkus-jacoco-jacoco-config.adoc[opts=optional, leveloffset=+1]

[TIP]
====
When working with a multi-module project, then for code coverage to work properly, the dependent modules need to be properly xref:cdi-reference.adoc#bean_discovery[indexed].
====

== Coverage for tests not using @QuarkusTest

The Quarkus automatic JaCoCo config will only work for tests that are annotated with `@QuarkusTest`. If you want to check
Expand Down

0 comments on commit b6e524f

Please sign in to comment.