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

Investigate how to detect incompetent mutants that enter infinite loops #26

Closed
abingham opened this issue Apr 18, 2015 · 3 comments
Closed

Comments

@abingham
Copy link
Contributor

This is the kind of wacky thing that mutants might do.

One example of bad behavior is when we run cosmic ray over bottle.


@abingham
Copy link
Contributor Author

Discussed this a bit with Seb Rose. He basically said that you need to build in some heuristics.


Original comment by: austin_bingham

@abingham
Copy link
Contributor Author

There's not support for killing a test run after N seconds. Right now N = 5, but it needs to be configurable.


Original comment by: austin_bingham

@abingham
Copy link
Contributor Author

One idea is to run the tests, unmutated, to get a baseline timing. Then, any mutated run that takes, say, 2x longer is considered incompetent.


Original comment by: austin_bingham

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

No branches or pull requests

1 participant