How to exclude specific methods and classes from pit mutations (intelliJ)

Viewed 53

I have a little java project with Test. I see two options for PIT tests:
1.) Pittest all classes in modulo
2.) Pittest one single file
Now I have two problems, firstly, when I run the pittest, it also mutates the toString() Method, which is for debug purpose only and secondly, it also pittest the test class. So I want to exclude the test class and the toString() Method from pittest.
(How) Is that possible? I'm not able to find any PIT settings

0 Answers
Related