mocha icon indicating copy to clipboard operation
mocha copied to clipboard

🚀 Feature: Highlight browser failures in red

Open tj opened this issue 12 years ago • 22 comments

to make it more obvious without wasting eye-movement effort to look at the count haha. I prefer github.com/visionmedia/mocha-matrix for this reason but it's not a good fit as a default

tj avatar Apr 03 '13 00:04 tj

I agree that'd be helpful :) So far, failures aren't generally obvious unless they're early in the suite:

screen shot 2015-03-08 at 9 53 52 pm

I'll a submit a PR that adds a horizontal bar in the header. It could be light grey while running, green if it passed, and red if it failed.

danielstjules avatar Mar 09 '15 04:03 danielstjules

Hi. I am new here and would like to contribute. From what I understand, when a test suite fails, messages must be displayed in red and if success, messages must be displayed in green. From what I know, I think mocha already does this. I would like to know what must be done exactly, and would like a deeper insight to this issue.

Thank you! :)

mayankshah1607 avatar May 14 '19 08:05 mayankshah1607

Hi,

is this available to work on?

dhuang612 avatar Oct 20 '19 02:10 dhuang612

Sure

outsideris avatar Oct 24 '19 08:10 outsideris

created pr #4082

dhuang612 avatar Oct 24 '19 20:10 dhuang612

updated pr with new code and included screenshots.

Please let me know if anything else needs to be changed

dhuang612 avatar Dec 11 '19 17:12 dhuang612

I see a ref to the new pr but just wanted to make sure you guys were aware.

created a new pr for this issue: #4148

dhuang612 avatar Jan 21 '20 03:01 dhuang612

Why isn't this merged?

pedro-qwkin avatar Aug 09 '20 18:08 pedro-qwkin

@outsideris Hi can I get an update on my PR? https://github.com/mochajs/mocha/pull/4148

dhuang612 avatar Oct 23 '20 21:10 dhuang612

@dhuang612 We missed it. I will check your PR.

outsideris avatar Nov 07 '20 12:11 outsideris

Hi @outsideris is it available to work on? I don't see any progress from the latest PR above

fzn0x avatar Sep 09 '22 15:09 fzn0x