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

ANSI color for test run results #18

Open
pieterbreed opened this issue May 14, 2014 · 5 comments
Open

ANSI color for test run results #18

pieterbreed opened this issue May 14, 2014 · 5 comments
Labels

Comments

@pieterbreed
Copy link

It would be awesome if there was a way to specify colorized output of the test runs.

The most import would be to make the failures RED and the passes GREEN with the final status message (Passed all tests or Failed 1 of 1 assertions) being RED or GREEN depending on which status it is.

@jakemcc
Copy link
Owner

jakemcc commented May 15, 2014

Thought about this before and think it is a good idea. Need to do it in a way works cross operating system and probably have a way to turn it off.

@frankyxhl
Copy link

I found this:https://github.com/venantius/ultra and it works well with lein-test-refresh.

@bilus
Copy link

bilus commented Oct 9, 2015

It works great. @jakemcc You should probably add it to Readme.

@jdslavin
Copy link

I did a pull request with Jake recently that allows us to use a custom reporter with lein-test-refresh. That feature is now included in 0.11.0. You can easily create your own reporter that you can colorize anyway you would like. Have a look at lein-test-refresh/lein2/src/lein2/sample_report.clj for an example. This example does not do any coloring but you can easily add it using https://github.com/ibdknox/colorize in your reporter.

@jakemcc
Copy link
Owner

jakemcc commented Oct 10, 2015

Added a blurb about Ultra. Thanks for the suggestion.

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

5 participants