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

how to include testng, cucubmer and junit 3 to 5 tests to be mutated #336

Open
nagkumar opened this issue Apr 20, 2023 · 1 comment
Open

Comments

@nagkumar
Copy link

Can you pl. share details in documentation etc.. on how to do mutation testing in a single project that has junit tests, testng and cucumber bdd tests..

I see plugins such as

  implementation("com.github.alexvictoor:pitest-cucumber-plugin:0.10")
    implementation("org.pitest:pitest-testng-plugin:1.0.0")

but not sure how to configure pitest task to use these to along with junit

tried plugins = ["testng", "junit5", "cucumber"]

none works..

@szpak
Copy link
Owner

szpak commented Apr 20, 2023

AFAIR, in the modern PIT version, the plugins are detected automatically, if only put on a classpath. Please verify that the plugins are added to the pitest configuration - not the implementation one.

See the example in documentation.

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

2 participants