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

Please allow for user defined custom junit runner #402

Open
display-none opened this issue Sep 25, 2017 · 0 comments
Open

Please allow for user defined custom junit runner #402

display-none opened this issue Sep 25, 2017 · 0 comments

Comments

@display-none
Copy link

Hello,

right now suites ran with a custom runner (one that is not recognized by pitest) are not recognized and cause 0% coverage and mutation coverage on code tested by them. In my project we simply extended the junitparams.JUnitParamsRunner, but the new runner wasn't recognized by pitest.

I can see that you have a whitelist of custom runners that pitest can work with:

runnerName.equals("junitparams.JUnitParamsRunner")
        || runnerName.startsWith("org.spockframework.runtime.Sputnik")
        || runnerName.startsWith("com.insightfullogic.lambdabehave")
        || runnerName.startsWith("com.googlecode.yatspec")
        || runnerName.startsWith("com.google.gwtmockito.GwtMockitoTestRunner");

Could you please allow for customizing that list, e.g. having a parameter in configuration with names or patterns of allowed runners? Thank you in advance

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

1 participant