On Sat, 17 Apr 2004 15:46:01 +0200, Simon Strandgaard wrote: > On Sat, 17 Apr 2004 15:20:09 +0200, Simon Strandgaard wrote: >> I have just upgraded to 1.9 16-apr-2004 from 1.9 7-apr-2004. >> >> One of my testsuites is no longer working, which worked >> with the previous version. It shows up that $0 is cluttered >> up. >> > > Ok.. I have tracked it down. The problem seems to be located in > Test::Unit. > Found some explanation: http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/test/unit/ui/console/testrunner.rb see revision 1.6: * lib/test/unit/ui/console/testrunner.rb (test_started): show test name via $0. ATT: Nobu I think its a bad idea to use global variables for this. Wouldn't it be better to have a instance variable with such info. For instance '@test_name'.. would be lot better. -- Simon Strandgaard