From: Christian Neukirchen Date: 2006-11-18T23:39:13+09:00 Subject: Re: turn 0.1.0 Released "Daniel Berger" writes: > Tim Pease wrote: >> turn version 0.1.0 has been released! >> Test::Unit Reporter New -- a new output format for Test::Unit > > > > Where are you hosting this Tim? I didn't see anythingon the RAA or > RubyForge. I'd just like a place to make suggestions. > > One thing I'd like is to have a "turn" command (under ruby/bin) so > that, instead of having to stick 'require "turn"' in all of my tests, I > could just do "turn tc_foo.rb" and get your nicer output. Plus, that > gives me the option of running the tests without turn if I so choose. test/spec can do that as well, e.g.: #606<3|>lilith:~/src/liquid$ specrb -s test/*test.rb Variable - blankspace - variable beginning - variable end - variable many embedded fragments - variable middle - with block [snip!] VariableResolution - hash scoping - ignore unknown - simple variable - simple with whitespaces Finished in 3.990959 seconds. 182 specifications (433 requirements), 0 failures And provides lots of other options useful for running tests as well: #607<3|>lilith:~/src/liquid$ specrb -h Usage: specrb [options] [files | -a] [-- untouched arguments] Ruby options: -e, --eval LINE evaluate a LINE of code -d, --debug set debugging flags (set $DEBUG to true) -w, --warn turn warnings on for your script -I, --include PATH specify $LOAD_PATH (may be used more than once) -r, --require LIBRARY require the library, before executing your script test/spec options: -s, --specdox do AgileDox-like output --rdox do AgileDox-like output with RDoc formatting -a, --automatic gather tests from ./test/ test/unit options: -n, --name NAME runs tests matching regexp NAME -t, --testcase TESTCASE runs tests in TestCases matching regexp TESTCASE Common options: -h, --help Show this message --version Show version > Dan -- Christian Neukirchen http://chneukirchen.org