Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Implement custom HTML reporter #71

Open
@SaladFork

Description

@SaladFork

Currently ember-cli-mocha just uses the HTML reporter that comes with mocha. While it works very well, it is difficult to extend and does not offer the same features as the QUnit output does. I came across @ef4's better-mocha-html-reporter which implemented an analogous reporter in ES6 and also cleaned up the styling.

I've since extended it a bit further to add features such as hiding passed tests, changing the favicon to indicate the final test result, and group together JSHint results (currently done after the fact, can probably be done a lot more elegantly). I've been sharing this through gists and had help from @elbeezy in cleaning it up.

Would such a reporter have a place in the ember-cli-mocha addon? Hoping this issue can start a discussion about the potential inclusion of a custom reporter (and if so, what features to implement).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions