Skip to content

Commit

Permalink
Revert "Also include integration tests in code coverage"
Browse files Browse the repository at this point in the history
This reverts commit 30615d7.
  • Loading branch information
ferrybig committed Aug 14, 2017
1 parent 30615d7 commit fa846cc
Showing 1 changed file with 1 addition and 41 deletions.
42 changes: 1 addition & 41 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@
<version>3.0.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>2.3.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -135,7 +129,6 @@
<teamspeak3.password>${teamspeak3.password}</teamspeak3.password>
<teamspeak3.required>${teamspeak3.required}</teamspeak3.required>
</systemPropertyVariables>
<argLine>${surefireArgLine}</argLine>
</configuration>
</plugin>
<plugin>
Expand All @@ -145,7 +138,6 @@
<includes>
<include>**/*IT.java</include>
</includes>
<argLine>${failsafeArgLine}</argLine>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -243,43 +235,11 @@
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.6.201602180812</version>
<executions>
<!-- The Executions required by unit tests are omitted. -->
<!--
Prepares the property pointing to the JaCoCo runtime agent which
is passed as VM argument when Maven the Failsafe plugin is executed.
-->
<execution>
<id>pre-integration-test</id>
<phase>pre-integration-test</phase>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<!-- Sets the path to the file which contains the execution data. -->
<destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
<!--
Sets the name of the property containing the settings
for JaCoCo runtime agent.
-->
<propertyName>failsafeArgLine</propertyName>
</configuration>
</execution>
<!--
Ensures that the code coverage report for integration tests after
integration tests have been run.
-->
<execution>
<id>post-integration-test</id>
<phase>post-integration-test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<!-- Sets the path to the file which contains the execution data. -->
<dataFile>${project.build.directory}/coverage-reports/jacoco-it.exec</dataFile>
<!-- Sets the output directory for the code coverage report. -->
<outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit fa846cc

Please sign in to comment.