From: "Jesús Gabriel y Galán" Date: 2010-08-05T17:15:33+09:00 Subject: Re: Ruby scrips getting executed in a loop. On Thu, Aug 5, 2010 at 9:32 AM, Parul Korea wrote: > Following is the piece of code in Run.rb . All the three files are > placed at the same location. > > Require 'abc.rb' > require 'xyz.rb' > > suite = Test::Unit::TestSuite.new() > suite  << TestSuite_abc.suite > suite  << TestSuite_xyz.suite > FileUtils.mkdir_p 'E:\Ruby\reports' > Test::Unit::UI::Reporter.run(suite, 'E:\Ruby\reports', :html) > > The last piece of code is for generating a combined html report. > > Initially, abc.rb and xyz.rb gets executed individually. After getting > executed once, a new “unnamed” testsuite gets loaded which combines the > test cases in both the scrips and execute them together. > I am not sure whether the problem is due to the last piece of code which > deals with report generation or is there any other issue ? Sorry, I don't know much about Test::Unit::UI:Reporter, maybe someone with experience using that can chime in? Jesus.