Mutation testing (and reporting) across Maven modules
AssafKatz3 opened this issue · 3 comments
AssafKatz3 commented
Characteristics
- Issue Type: bug
- Reproducibility: always
- Severity: crash
- Tool/Service/Component: pitmp-maven-plugin, 1.1.4
- Execution Environment: Java 1.8, Linux
- Reporter: Assaf Katz, assafkatz3@gmail.com
Description
Getting NullPointerException on PmpMojo.updateTargetClasses.
Steps to reproduce
Create main project with following modules:
- persistent:
- src/java
- service:
- src/java
- tests:
- src/test (JUnit)
Add to main pom.xml (build section):
<plugin> <groupId>eu.stamp-project</groupId> <artifactId>pitmp-maven-plugin</artifactId> <version>1.1.4</version> <dependencies> <dependency> <groupId>org.pitest</groupId> <artifactId>pitest-maven</artifactId> <version>1.3.2</version> </dependency> </dependencies> </plugin>
Run mvn org.pitest:pitest-maven:mutationCoverage.
Other files and URLs
None.
Relationships
AssafKatz3 commented
Cael35 commented
Hello @AssafKatz3,
Duplicate #6
This issue is fixed in the release 1.1.5 available in Maven Central.
Unfortunately there is still a bug: if you don't specify any targetClass, no mutation are found. I created an issue for it (#10).