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

Reporter HTML: listen to new 'EVENT_TEST_SKIPPED` event #4231

Closed
juergba opened this issue Apr 20, 2020 · 0 comments
Closed

Reporter HTML: listen to new 'EVENT_TEST_SKIPPED` event #4231

juergba opened this issue Apr 20, 2020 · 0 comments
Labels
area: browser browser-specific area: reporters involving a specific reporter status: accepting prs Mocha can use your help with this one!

Comments

@juergba
Copy link
Contributor

juergba commented Apr 20, 2020

Description

Currently a failing hook changes the shape of a test run and related tests just disappear. They are neither listed in the reporter output nor shown in the test summary.
#4221 / #4233 add new test events: EVENT_TEST_SKIPPED.

ToDo in reporter HTML:

  • listen to EVENT_TEST_SKIPPED
  • report skipped tests in color red (similar to pending tests)
  • mocha-stats:
    • add pending
    • add skipped
    • add total (stats.tests)
    • fix passesLink: should only show passing tests, without pending tests
    • fix progress
  • remove "<=IE7" stuff
@juergba juergba added area: browser browser-specific area: reporters involving a specific reporter status: accepting prs Mocha can use your help with this one! labels Apr 20, 2020
@juergba juergba changed the title Reporter HTML: adapt to new test status 'skipped' Reporter HTML: listen to new 'EVENT_TEST_SKIPPED` event Apr 21, 2020
@juergba juergba closed this as completed Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: browser browser-specific area: reporters involving a specific reporter status: accepting prs Mocha can use your help with this one!
Projects
None yet
Development

No branches or pull requests

1 participant