Open carloscheddar opened 9 years ago
I use a custom mocha reporter by placing the reporter itself in tests/helpers/reporter.js
, and then in test-helper.js I do:
import Reporter from './helpers/reporter';
mocha.reporter(Reporter);
Any update on this? @ef4 what custom reporter are you using and how are you adding it to that file?
Is there a way to get the qunit look-alike reporter?
I get this for mocha:
@mmahalwy I've been using https://github.com/ef4/better-mocha-html-reporter
@ef4 I will try these today actually!
@ballPointPenguin I am excited about this - whats the ETA?
@mmahalwy I am blocked by https://github.com/ember-cli/ember-cli/pull/4659 (next ember-cli release). But, you can use it right now if you build ember-cli from master and use my fork https://github.com/ballPointPenguin/ember-cli-mocha.
Or, perhaps easier, just follow these directions: https://gist.github.com/elbeezy/d7ab4dda1bea033d646a
@ballPointPenguin any example of this reporter?
@mmahalwy Do you mean a live demo, or a screenshot, or what?
Actually @ballPointPenguin i got it - looks badass :)
The instructions 404'd :-(
@NullVoxPopuli the custom reporter has gone through various iterations, and my gist became outdated hence the 404. Here's the latest version I'm aware of: https://github.com/mmelvin0/ember-cli-mocha-reporter
Each round of changes has built on ef4's better-mocha-reporter
Changing the reporter in testem.json only lets me choose between the testem reporters instead of the mocha reporters. Is there any way around this?