Merge branch '#66-Mutation-Tests' into 'dev'

Mutation Tests

See merge request team1/sandbox2!4
This commit is contained in:
Marvin Scham
2023-06-06 00:39:55 +00:00
3 changed files with 16 additions and 1 deletions

View File

@@ -5,12 +5,13 @@
### Added ### Added
- `EbayItemDataSource` (#37) - `EbayItemDataSource` (#37)
- Mutation testing capabilities via PITest (#66)
- `Product` class - `Product` class
- Mapping between Product and its corresponding DTO - Mapping between Product and its corresponding DTO
- Dependencies: Lombok for easier notation, JUnit 5 Params for repetitive tests - Dependencies: Lombok for easier notation, JUnit 5 Params for repetitive tests
- Product Validation - Product Validation
- Product Retrieval - Product Retrieval
- Tests - Unit Tests
### Changed ### Changed

View File

@@ -0,0 +1,2 @@
mvn test-compile org.pitest:pitest-maven:mutationCoverage
start target/pit-reports/index.html

12
pom.xml
View File

@@ -60,6 +60,12 @@
<version>2.8.0</version> <version>2.8.0</version>
</dependency> </dependency>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>1.2.0</version>
</dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
@@ -101,6 +107,12 @@
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.10</version> <version>0.8.10</version>
</plugin> </plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.14.1</version>
</plugin>
</plugins> </plugins>
</build> </build>