Skip to content

Commit 63a6f44

Browse files
Добавил плагин JaCoCo для проверки покрытия тестов
1 parent b6b676c commit 63a6f44

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,30 @@
1717
<maven.surefire.plugin.version>3.0.0-M8</maven.surefire.plugin.version>
1818
</properties>
1919

20+
<build>
21+
<plugins>
22+
<plugin>
23+
<groupId>org.jacoco</groupId>
24+
<artifactId>jacoco-maven-plugin</artifactId>
25+
<version>0.8.11</version>
26+
<executions>
27+
<execution>
28+
<goals>
29+
<goal>prepare-agent</goal>
30+
</goals>
31+
</execution>
32+
<execution>
33+
<id>report</id>
34+
<phase>test</phase>
35+
<goals>
36+
<goal>report</goal>
37+
</goals>
38+
</execution>
39+
</executions>
40+
</plugin>
41+
</plugins>
42+
</build>
43+
2044
<dependencies>
2145
<dependency>
2246
<groupId>org.telegram</groupId>
@@ -49,4 +73,5 @@
4973
</dependency>
5074
</dependencies>
5175

76+
5277
</project>

qodana.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ linter: jetbrains/qodana-jvm:2025.1
33
profile:
44
name: qodana.recommended
55
include:
6-
- name: CheckDependencyLicenses
6+
- name: CheckDependencyLicenses
7+
jacoco:
8+
include: true

0 commit comments

Comments
 (0)