mutest icon indicating copy to clipboard operation
mutest copied to clipboard

Strange result when trying to execute on specific project

Open elifoster opened this issue 7 years ago • 1 comments

I'm trying to run mutest on a small project of mine, array_utility. I am using:

$ mutest --include lib --require array_utility --use rspec 'ArrayUtility' 

but it results in no mutations getting executed. Another project of mine with a similar setup, String-Utility-Ruby, works just fine using

$ mutest --include lib --require string-utility --use rspec 'StringUtility'

Is there something I'm doing wrong here?

elifoster avatar May 27 '17 15:05 elifoster

Ah, so mutest is not refinements-aware. The reason you don't see any mutations in array_utility is because those are the only methods defined. In String-Utility-Ruby the mutations you're seeing are from the methods that are outside of the refinement block. The methods inside the refinements are not mutated.

dgollahon avatar May 27 '17 19:05 dgollahon