pitest icon indicating copy to clipboard operation
pitest copied to clipboard

excludedMethods = ['main'] does work while its FQN - Fully Qualified Name does not work

Open nagkumar opened this issue 2 years ago • 0 comments

excludedMethods = ['com.teja.dsa.bbraces.BalancedBraces.main']

this is not working, we just need to give 'main'

better to unify these two with

 excludedClasses = ["com.teja.dsa.bbraces.BalancedBraces"]
 excludedMethods = ['main']

excludePatterns = '[com.teja.dsa.bbraces.BalancedBraces.main]' that understands FQN and also supports patterns * and ** as in ant. hope there is also include version of exclude too i.e. want to just include only few classes or methods.

nagkumar avatar Mar 29 '23 03:03 nagkumar