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

Pitest config allows only whole Test class execution, but it would be good to have option to run single test method from class #1298

Open
Kevin222004 opened this issue Jan 30, 2024 · 0 comments

Comments

@Kevin222004
Copy link

Pitest currently only allows the whole Test class execution, but it would be good to have the option to run a single test method from the class.

For example:-
In the checkstyle project, multiple profiles are created, so sometimes, the Internal class requires only a single test case to kill the mutation from a different profile. Now there is no feature available that can help to run only a single test from the file we have to execute all the tests from the file. so as a result a test from a single file will run twice in both the profiles. where as we required only one test case to run.

we have faced this issue while working at checkstyle/checkstyle#13810

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