"Gennady" <bystr / mac.com> 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