Skip to content

Commit

Permalink
Only include hand written code in jacoco report (Azure#18640)
Browse files Browse the repository at this point in the history
* Include only hand-written code in Jacoco test coverage calculation

* Exclude azure-communication-common

* Revert changes in pom.xml

* Only include handwritten code in jacoco aggregate report

* Fix format
  • Loading branch information
sacheun authored Jan 15, 2021
1 parent 49b38f7 commit 60cc80a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sdk/communication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,14 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.5</version> <!-- {x-version-update;org.jacoco:jacoco-maven-plugin;external_dependency} -->
<version>0.8.5</version>
<configuration>
<includes>
<include>com/azure/communication/chat/*.class</include>
<include>com/azure/communication/sms/*.class</include>
<include>com/azure/communication/administration/*.class</include>
</includes>
</configuration> <!-- {x-version-update;org.jacoco:jacoco-maven-plugin;external_dependency} -->
<executions>
<execution>
<id>report-aggregate</id>
Expand Down

0 comments on commit 60cc80a

Please sign in to comment.