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

Does pitmp-maven-plugin support JUNIT5? #13

Closed
rdelgatte opened this issue Jul 13, 2018 · 6 comments
Closed

Does pitmp-maven-plugin support JUNIT5? #13

rdelgatte opened this issue Jul 13, 2018 · 6 comments

Comments

@rdelgatte
Copy link

Characteristics

  • Issue Type: [test report]
  • Reproducibility: [always]
  • Severity: [feature]
  • Tool/Service/Component: [PIT 1.4.0]
  • Execution Environment: [Maven 3.5.2 - Java 8 - JUNIT5]
  • Reporter: [Rémi Delgatte - remi.delgatte@gmail.com]

Description

I'd like to test pitmp-maven-plugin but it looks like it does not work well with JUNIT5 (I had the same behavior when setting up PIT before adding the plugin for junit5).
Here is the stacktrace I get:

18:06:41 PIT >> INFO : MINION : 18:06:41 PIT >> INFO : Checking environment

18:06:41 PIT >> INFO : MINION : 18:06:41 PIT >> SEVERE : JUnit was not found on the classpath. PIT requires JUnit 4.6 or above.
See http://pitest.org for more details.

18:06:41 PIT >> SEVERE : Error generating coverage. Please check that your classpath contains JUnit 4.6 or above.

Does pitmp-maven-plugin supports JUNIT5?

Thank you

Rémi

@vmassol
Copy link

vmassol commented Jul 13, 2018

I don't know about PITMP and JUnit5 but for PIT and JUnit5, see https://github.com/pitest/pitest-junit5-plugin

@rdelgatte
Copy link
Author

Yes I know, it is already set up and works really well but I would have like to benefit from PITMP because my project is composed of several modules.

@vmassol
Copy link

vmassol commented Jul 13, 2018

Yep I agree. I have the same needs too on XWiki. We're currently using PIT with JUnit5 but if we want to try out PITMP we'll also need support for JUnit5.

@vmassol
Copy link

vmassol commented Jul 13, 2018

It's really a pity that PITMP is not developed as a feature of the PIT Maven plugin.... That's so sad IMO.

@Cael35
Copy link

Cael35 commented Jul 16, 2018

I try to follow PIT releases, but I haven't tried JUnit5 yet. I'll try to take care of it quickly! :-)

@Cael35
Copy link

Cael35 commented Jul 17, 2018

I just released the v1.3.2 which should fix this issue.

@Cael35 Cael35 closed this as completed Jul 17, 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