anchor.diff:  
   == Starting from a simple project and two tests
   
  -Let's start from an empty application created with the Quarkus Maven plugin: 
  +Let's start from an empty application created with the Quarkus Maven plugin:
   
   [source,bash,subs=attributes+]
   ----
  
positive.code:         given()
            .when().get("/hello")
            .then()
               .statusCode(200)  
               .body(is("hello"));
      }
  
  
negative.code: 
  ----
  
  == 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`.
  
  [source, xml]
  ----
  <build>
      ...
      <plugins>
          ...
          <plugin>
              <groupId>org.jacoco</groupId>
              <artifactId>jacoco-maven-plugin</artifactId>
              <version>${jacoco.version}</version>
              <executions>
                  <execution>
                      <id>jacoco-check</id>
                      <goals>
                          <goal>check</goal>
                      </goals>
                      <phase>test</phase>
                      <configuration>
                          <dataFile>${project.build.directory}/jacoco-quarkus.exec</dataFile>
                          <rules>
                              <rule>
                                  <element>BUNDLE</element>
                                  <limits>
                                      <limit>
                                          <counter>LINE</counter>
                                          <value>COVEREDRATIO</value>
                                          <minimum>0.8</minimum>
                                      </limit>
                                      <limit>
                                          <counter>BRANCH</counter>
                                          <value>COVEREDRATIO</value>
                                          <minimum>0.72</minimum>
                                      </limit>
                                  </limits>
                              </rule>
                          </rules>
                      </configuration>
                  </execution>
              </executions>
          </plugin>
          ...
      </plugins>
      ...
  </build>
  ----
  
  == Conclusion
  
  You now have all the information you need to study the coverage of your tests!
  