jeudi 9 avril 2015

how to format the output of rails test specs? with colors spacing, etc. on windows

I am looking for color, space or anything that even recognize the mass basuda generated by rails mini-test results on windows machine.


as of now i get this output



ansi: 'gem install win32console' to use color on Windows
Started with run options --seed 56536

ERROR["test_should_get_about", StaticPagesControllerTest, 0.156248]ETA: 00:00:00
test_should_get_about#StaticPagesControllerTest (0.16s)
ActionController::UrlGenerationError: ActionController::UrlGenerationError: No route matches
{:action=>"about", :controller=>"static_pages"}
test/controllers/static_pages_controller_test.rb:15:in `block in <class:StaticPagesContr
ollerTest>'
test/controllers/static_pages_controller_test.rb:15:in `block in <class:StaticPagesControlle
rTest>'

3/3: [===================================] 100% Time: 00:00:00, Time: 00:00:00

Finished in 0.15625s
3 tests, 2 assertions, 0 failures, 1 errors, 0 skips
23:36:45 - INFO - Run 'gem install win32console' to use color on Windows
←]2;[Minitest results] 3 tests

Aucun commentaire:

Enregistrer un commentaire