Skip to content

"Styled" runner #6

@jjoschyy

Description

@jjoschyy

Would be nice, if you could add a "styled" runner with more spaces and a bit more color.
For example, just change the following functions in progress.js:

Progress.prototype.onStartClass = function(suite) {
this.suite = suite;
return process.stderr.write("\033[33m\n " + suite + "\n");
};

Progress.prototype.onRunEnd = function(summary) {
process.stderr.write("\n\n");
process.stderr.write(" Time taken: " + summary.time + "\n");
process.stderr.write(" Passed: " + summary.passed + "\n");
return process.stderr.write(" Failed: " + summary.failed + "\n");
};

Thanks,
Joachim

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions