mirror of
https://github.com/pcvolkmer/onkostar-plugin-dnpm.git
synced 2025-07-02 09:12:54 +00:00
Maven JaCoCo-Plugin hinzugefügt
This commit is contained in:
14
README.md
14
README.md
@ -345,3 +345,17 @@ Danach Ausführen des Befehls:
|
|||||||
```shell
|
```shell
|
||||||
./mvnw package
|
./mvnw package
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Testen des Plugins und Code-Voverage
|
||||||
|
|
||||||
|
Die Entwicklung des Plugins erfolgt mit automatisierten Tests. Diese können zusammen mit einem Bericht über die Testabdeckung
|
||||||
|
durch Ausführung des Befehls
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./mvnw clean verify
|
||||||
|
```
|
||||||
|
|
||||||
|
ausgeführt werden.
|
||||||
|
|
||||||
|
Treten Fehler auf, so wird dies angezeigt. Einen Bericht über die Testabdeckung finden Sie als HTML-Seite unter
|
||||||
|
`target/site/jacoco/index.html`.
|
||||||
|
19
pom.xml
19
pom.xml
@ -216,6 +216,25 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.jacoco</groupId>
|
||||||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
|
<version>0.8.10</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>prepare-agent</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>report</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>report</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user