[Boulder-Denver Ruby Group] Subversion Automation
Doug Fales
doug.fales at gmail.com
Mon Nov 6 11:21:07 EST 2006
Tim,
This is great stuff! I'd love to see it as a gem and/or a rails plugin!
Thanks for sharing it.
-Doug
On 11/3/06, Tim Pease <tim.pease at gmail.com> wrote:
> On 10/30/06, ara.t.howard at noaa.gov <ara.t.howard at noaa.gov> wrote:
> >
> > yay to all those that release code into the wild!
> >
>
> If you would like a more friendly format for your Test::Unit output,
> require this file when you run your tests ...
>
> http://www.zippy6.net/ruby/plib/test_unit_reporter.rb
>
> This bit of code will change your output from
>
> > ruby test/my_suite.rb
> .......E.....F........
>
> To something more like this
>
> > ruby -r test_unit_reporter test/my_suite.rb
> TestAPC::TestPDU
> test_class_connect PASS
> test_connect PASS
> test_connected_eh PASS
> test_debug PASS
> test_debug_equals FAIL
> ./test/test_pdu.rb:53:in `test_debug_equals'
> <false> is not true.
> test_disconnect PASS
> test_goto_menu PASS
> test_outlet_cmd PASS
> test_outlet_status PASS
> test_outlets PASS
> test_reboot PASS
> test_separator PASS
> test_separator_equals PASS
> test_turn_off PASS
> test_turn_on PASS
> ==============================================================================
> pass: 14, fail: 1, error: 0
> total: 15 tests with 64 assertions in 0.12 seconds
> ==============================================================================
>
>
> If you have the "facets" gem installed, everything will have nice
> pretty colors, too (if your terminal supports ANSI color codes).
>
> Enjoy
>
> TwP
> _______________________________________________
> Bdrg-members mailing list
> Bdrg-members at rubyforge.org
> http://rubyforge.org/mailman/listinfo/bdrg-members
>
More information about the Bdrg-members
mailing list