The following screenshot is an example of the output when no tests are failing:
And, the following screenshot is an example of the output when there are failures or errors:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie_V8nQlMS0kycEgWk2US5mpMyNIJCiyXxOWgZr8sHtG-JwohADSTCqbrTRVoxXKVkgIYn0thbmmkXotH0ZiyPDq88gP1sZqgfZWaNtccV0VR6yHIYQaNqjbT79f2Q4TQK72wf/s320/Screenshot+from+2013-06-11+14:32:49.png)
Colorized output is one of those small things that is easy to de-prioritize, but once it's done you can't figure out why you didn't do it earlier. The code to colorize your results is very simple, and there's even a lib, colorize, if you prefer to simply include a dependency instead.
Of course, if you prefer to stick with non-colorized results that's possible as well - simply set the environment variable EXPECTATIONS_COLORIZE to 'false'.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.