dgollahon/mutest

Strange result when trying to execute on specific project

Opened this issue · 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?

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.