Should the spec reporter report retries? #5014
Labels
area: reporters
involving a specific reporter
semver-major
implementation requires increase of "major" version number; "breaking changes"
status: accepting prs
Mocha can use your help with this one!
type: feature
enhancement proposal
Prerequisites
faq
labelnode_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend that you not install Mocha globally.Description
We have a few flaky tests and we would like to be aware of them. Currently, the spec reporter does not make a distinction between a test that succeeded first try and one that needed to be retried. We are probably going to create a custom reporter that extends
Mocha.reporters.Spec
to report the flaky tests at the end, but if it can be upstreamed, that would be ideal.If the idea has good reception with mocha maintainers, I could try making a PR.
The text was updated successfully, but these errors were encountered: