From: Shashank Date Date: 2003-05-18T08:06:45+09:00 Subject: Re: RCR: $INCLUDED global var "Gennady" wrote in message > if $0 == __FILE__ or defined? Test::Unit::TestCase > require 'test/unit' > # do unit testing > end > > This gives me ability both to test the file individually (:!ruby % in > vi) as well as to include it in a project test suite where I put: Hmmm .... good idea ! I will start using it now on ... thanks for sharing the tip. -- shanko