From: Daniel Berger Date: 2006-11-18T11:35:08+09:00 Subject: Re: turn 0.1.0 Released Tim Pease wrote: > On 11/17/06, Daniel Berger wrote: > > 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. > > > > It lives on RubyForge under the codeforpeople project (thanks Ara) Ah, yes. Whoops. Forgot. Thanks. > > 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, > > 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. > > > > I suppose that means two files - one for Windows (a .bat file), and one > > for non-Windows. > > > > Wicked cool idea! As soon as I figure out Guy's mmap code, I'll get > cracking on that. Whoa there. No need to get crazy. A simple shell/batch script that lives in Ruby's bin directory will do. :) I've posted the .bat file on the codeforpeople project page. Here it is for those curious: # turn.bat - put this in c:\ruby\bin @echo off "%~p0ruby" -x "%~f0" %1 goto endofruby #!/bin/ruby require "rubygems" require "turn" require ARGV[0] # The test file :endofruby The only quirk is that your test output will start with "Loaded suite C:/ruby/bin/turn.bat" instead of the actual name of the test file. Nothing serious. Regards, Dan