Skip to content
Snippets Groups Projects
Commit b154528e authored by Sander August Heggland Schrader's avatar Sander August Heggland Schrader
Browse files

Test coverage

parent c7859c64
No related branches found
No related tags found
1 merge request!90Test coverage
......@@ -95,23 +95,6 @@ To run tests, run the following command
```bash
mvn clean test
```
After running the tests a test coverage report will be produced. This report is located in the folder `target/site`
When building through Docker Compose, Docker automatically runs the tests and stops the launching process at failures.
## Roadmap
- Map feature
## Authors
- [Aune, Morten](https://gitlab.stud.idi.ntnu.no/morteaun)
- [Burmann, Henrik August](https://gitlab.stud.idi.ntnu.no/henriabu)
- [Hansen, Erik Borgeteien](https://gitlab.stud.idi.ntnu.no/erikbhan)
- [Hjelljord, Oda Alida Fønstelien](https://gitlab.stud.idi.ntnu.no/oahjellj)
- [Holthe, Aleksander Halvorsen](https://gitlab.stud.idi.ntnu.no/alekhal)
- [Kanter, Haakon Tideman](https://gitlab.stud.idi.ntnu.no/haakotka)
- [Kristiansen, Titus](https://gitlab.stud.idi.ntnu.no/titusk)
- [Mudassar, Zara](https://gitlab.stud.idi.ntnu.no/zaramu)
- [Røskaft, Håkon Eilertsen](https://gitlab.stud.idi.ntnu.no/haakoero)
- [Schrader, Sander August Heggland](https://gitlab.stud.idi.ntnu.no/saschrad)
......@@ -70,6 +70,13 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<!-- code coverage -->
<dependency>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<type>maven-plugin</type>
</dependency>
<dependency>
......@@ -90,6 +97,28 @@
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- To produce code coverage reports -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<!-- attached to Maven test phase -->
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment