From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2003-05-18T03:45:58+09:00 Subject: Re: RCR: $INCLUDED global var In article , Shashank Date wrote: > >"Phil Tomson" wrote in message >[snip] > >> -OR- >> >> TEST { >> #... >> } >> >> I like the second one, because that's what I'm usually using the code in >> that secion for; unit testing a module or class(s) that appear above in > ^^^^^^^^^ What ? >You mean you don't use the wonderful Test::Unit framework ! Shame !! >Ok, just kidding ;-) Sure I do. Right now I do: if $0 == __FILE__ require 'testunit' #do unit testing end With this suggestion it would change to: TEST { require 'testunit' #do unit testing } > >I really like your suggestion ... I do use it for the same reason. Hope it >gets accepted. > >> Phil >^^^^^ I like your TaskMaster Framework too :-) Thanks. Phil