Plugins - colorized_test

StarAdd to favorites

ColorizedTest

This plugin is very simple. Heavily based on Pat Eyler’s redgreen gem, it redefines Test::Unit TestRunner to add ANSI escape sequences to test run output.

ColorizedTest is tested on both Linux and Windows, latter requires installation of ‘win32console’ gem.

Usage

Any rake test task should have colorized output if you set environment variable COLORIZE to any non-false value. eg.

  $ rake test:units COLORIZE=1

or

  $ rake test:all_but_integration COLORIZE=1

or

  $ export COLORIZE=doitplease
  $ rake any_test_task

all should work and result in colored output.

Edvard Majakari

http://majakari.net/code/plugin-colorized_test

svn://majakari.net/public/rails/plugins/colorized_test/trunk

Rails' (MIT)

  • Currently 3.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Testing

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?