Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutation Killer for MiniTest #92

Closed
CyborgMaster opened this issue Aug 2, 2013 · 7 comments · Fixed by #445
Closed

Mutation Killer for MiniTest #92

CyborgMaster opened this issue Aug 2, 2013 · 7 comments · Fixed by #445

Comments

@CyborgMaster
Copy link

I'm starting a new Rails project. I currently use SimpleCov to monitor my test code coverage, and I would love to use Mutant to do mutation testing and coverage as well. I have seen that some progress has been done on getting Mutant running in a rails environment, and was wondering if anyone has started any work on developing a mutation killer for the minitest framework, which is what my project uses. I know the correct response is to fork, impliment it myself, and submit a PR, but we are on a tight deadline and I don't have time to do it now and would prefer to collaborate with someone if there is already effort in that direction.

@mbj
Copy link
Owner

mbj commented Aug 4, 2013

Sorry I reply so late. Was busy the last days.

Short story, I had some unstable integrations working once. But these are outdated already and because of the spiky character I never committed them. My fault.

There was some interest from the community, and I saw some related forks but sadly never a PR.

To answer your question: Currently I do not know a person working on an integration.

The most critical part of an integration is the selection of the correct tests. I do not know minitest internals, so I dont know if there is an easy way to go from a Mutant::Subject instance to a set of tests to run.

I'd love to see a PR here. On the longterm I think we'll have separate gems for the integration mutant-rspec, mutant-minitest, ...

@CyborgMaster
Copy link
Author

No problem. I can see from the activity on the project that you have been
busy.

It would make sense that the most difficult part of the job would be
figuring out which tests to run, however at the start, I would be more than
willing to run my entire test suite against every mutation. My tests are
still small and it takes < .1 seconds to run the whole set. It would
probably make it relatively slow, so I couldn't run it inside my guardfile,
but it would still be better than no mutation tests at all.

Right now we are really under the gun trying to get to the MVP for the
initial release, so I can't dedicate any time to this, but I hope to be
able to try and integrate mutation testing at some point.

  • Jeremy

On Sun, Aug 4, 2013 at 5:44 PM, Markus Schirp [email protected]:

Sorry I reply so late. Was busy the last days.

Short story, I had some unstable integrations working once. But these are
outdated already and because of the spiky character I never committed them.
My fault.

There was some interest from the community, and I saw some related forks
but sadly never a PR.

To answer your question: Currently I do not know a person working on an
integration.

The most critical part of an integration is the selection of the correct
tests. I do not know minitest internals, so I dont know if there is an easy
way to go from a Mutant::Subject instance to a set of tests to run.

I'd love to see a PR here. On the longterm I think we'll have separate
gems for the integration mutant-rspec, mutant-minitest, ...


Reply to this email directly or view it on GitHubhttps://github.com//issues/92#issuecomment-22081540
.

@mbj mbj mentioned this issue Mar 16, 2014
2 tasks
@kbrock
Copy link
Contributor

kbrock commented Feb 26, 2015

Is there a non-working/stagnant branch somewhere that I could look at?
164 references @ahawkins but I didn't track down anything.

@plexus
Copy link
Contributor

plexus commented Sep 22, 2015

I'm guessing https://github.com/ahawkins/mutant/tree/minitest is the branch being referred to.

@mbj
Copy link
Owner

mbj commented Sep 22, 2015

@plexus In meanwhile there is a much more maintained one by me, that lacks people testing it: https://github.com/kbrock/mutant/tree/minitest this branch is "far less stale" than the one you are referencing.

@kbrock With your agreement I'd move this branch to my repo + create a PR to give it more visibility.

@kbrock
Copy link
Contributor

kbrock commented Sep 22, 2015

👍

mbj added a commit that referenced this issue Sep 22, 2015
@plexus
Copy link
Contributor

plexus commented Sep 23, 2015

Awesome!

mbj added a commit that referenced this issue Dec 20, 2015
mbj added a commit that referenced this issue Dec 20, 2015
mbj added a commit that referenced this issue Dec 20, 2015
mbj added a commit that referenced this issue Dec 20, 2015
mbj added a commit that referenced this issue Dec 31, 2015
mbj added a commit that referenced this issue Dec 31, 2015
mbj added a commit that referenced this issue Jan 9, 2016
mbj added a commit that referenced this issue Jan 9, 2016
mbj added a commit that referenced this issue Jan 11, 2016
mbj added a commit that referenced this issue Jan 24, 2016
mbj added a commit that referenced this issue Feb 14, 2016
mbj added a commit that referenced this issue Feb 15, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Feb 29, 2016
mbj added a commit that referenced this issue Mar 1, 2016
mbj added a commit that referenced this issue Jul 31, 2016
mbj added a commit that referenced this issue Jul 31, 2016
mbj added a commit that referenced this issue Jul 31, 2016
mbj added a commit that referenced this issue Jul 31, 2016
mbj added a commit that referenced this issue Nov 12, 2018
mbj added a commit that referenced this issue Nov 12, 2018
mbj added a commit that referenced this issue Nov 12, 2018
mbj added a commit that referenced this issue Nov 12, 2018
mbj added a commit that referenced this issue Nov 12, 2018
mbj added a commit that referenced this issue Nov 12, 2018
mbj added a commit that referenced this issue Nov 16, 2018
mbj added a commit that referenced this issue Nov 17, 2018
mbj added a commit that referenced this issue Nov 17, 2018
mbj added a commit that referenced this issue Nov 17, 2018
mbj added a commit that referenced this issue Nov 18, 2018
mbj added a commit that referenced this issue Nov 18, 2018
mbj added a commit that referenced this issue Nov 18, 2018
mbj added a commit that referenced this issue Nov 18, 2018
mbj added a commit that referenced this issue Nov 18, 2018
mbj added a commit that referenced this issue Nov 18, 2018
mbj added a commit that referenced this issue Nov 18, 2018
mbj added a commit that referenced this issue Nov 18, 2018
mbj added a commit that referenced this issue Nov 19, 2018
mbj added a commit that referenced this issue Nov 19, 2018
@mbj mbj closed this as completed in #445 Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants