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

"Styled" runner #6

Open
jjoschyy opened this issue Sep 7, 2011 · 0 comments
Open

"Styled" runner #6

jjoschyy opened this issue Sep 7, 2011 · 0 comments
Labels

Comments

@jjoschyy
Copy link

jjoschyy commented Sep 7, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant