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

Support retries on failures #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jugend
Copy link

@jugend jugend commented Jul 13, 2017

Issues:

Mocha retries option has a few limitations:

  • Does not retry if error is thrown in before/after[Each] statements
  • Retry only the failed test case, it does not re-run the whole spec
  • For test case that depends on other previous test cases to run, retrying just the failed test case will not help

Requirement:

Loopmocha supports parallel execution, should any of the mocha runs failed, re-run the mocha execution up to the number of retries option.

It will come in handy for ECI 2 in PP, considering stage env is often not stable.

@jugend
Copy link
Author

jugend commented Sep 4, 2017

@grawk Any thought on this PR? Thanks!

@grawk
Copy link
Owner

grawk commented Sep 4, 2017

Hi @jugend. I apologize for not looking sooner. I'll set up a local test and verify. If all is well we should be able to merge/publish next week.

I am also trying to get people to move away from grunt and grunt-loop-mocha in favor of nemo-runner. I think nemo-runner will be a lot simpler.

@jugend
Copy link
Author

jugend commented Sep 5, 2017 via email

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

Successfully merging this pull request may close these issues.

2 participants