-
Notifications
You must be signed in to change notification settings - Fork 58
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
set targetTests
explicitly
#144
Comments
@Vampire You may want to check 1.4.6-SNAPSHOT if it works for you. |
I had a quick look at the commit you made. I don't think this makes much sense and would have led to the same confusion I had Here some alternatives one of which might makes sense to you to adapt instead of what you did right now:
|
I don't understand that. If you set
Unless there is (or was) a bug it should work like that also in 1.4.0. |
Regarding the general case, I'm not convinced that I want to change the default behavior. Very often people don't set anything ( |
Btw, I implemented an ability to override |
Well, given you are right regarding the "people set targetClasses and expect that the tests are following suit", the current default might be good. |
According to http://pitest.org/quickstart/commandline/ it is recommended to always set
targetTests
parameter explicitly.This plugin does only set the
targetClasses
explicitly which then is used for both parameters.To save some time during targeted work I set
targetClasses
to the classes I'm currently working on and then wondered why there are no tests found anymore.I'd like to recommend to also set
targetTests
explicitly by default.The text was updated successfully, but these errors were encountered: