Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Strange result when trying to execute on specific project #79

Open
elifoster opened this issue May 27, 2017 · 1 comment
Open

Strange result when trying to execute on specific project #79

elifoster opened this issue May 27, 2017 · 1 comment

Comments

@elifoster
Copy link

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?

@dgollahon
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants