Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutation testing (and reporting) across Maven modules #9

Closed
AssafKatz3 opened this issue Apr 23, 2018 · 3 comments
Closed

Mutation testing (and reporting) across Maven modules #9

AssafKatz3 opened this issue Apr 23, 2018 · 3 comments

Comments

@AssafKatz3
Copy link

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, [email protected]

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

Mutation testing (and reporting) across Maven modules #376

@oscarlvp
Copy link
Member

Could this be a duplicate of #6?

@AssafKatz3
Copy link
Author

@oscarlvp This seems to be use case of #6

Cael35 pushed a commit that referenced this issue Apr 23, 2018
- Correct issues #6 and #9
- Add automatic tests (verify_pitmp.sh)
@Cael35
Copy link

Cael35 commented Apr 23, 2018

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).

@Cael35 Cael35 closed this as completed Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants