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

Hint about watch mode for tests #12

Open
camjc opened this issue Jul 6, 2018 · 2 comments
Open

Hint about watch mode for tests #12

camjc opened this issue Jul 6, 2018 · 2 comments

Comments

@camjc
Copy link
Contributor

camjc commented Jul 6, 2018

If you are running your tests in watch mode by default (Jest or similar) you have your tests doing nothing forever when mutode is trying to run them.
It'd be great to have mutode realise this and warn the user, or perhaps set itself up to run common test runners in CI mode.

@DiegoRBaquero
Copy link
Member

If I understand right, is because test process keep testing and never exists, marking all mutants as discarded. This should be solved when the possibility of changing the test command that mutode uses is added, which should be soon.

@camjc
Copy link
Contributor Author

camjc commented Jul 7, 2018

Yep, it never exits.
We could even do a very basic detection for this as a timeout on the suite after a few minutes to give the user some feedback.

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

2 participants