Gennady Bystritksy wrote:
> When you terminate your test runner with exit!, test/unit will not have 
> a chance to run tests on its own.
> 

yep, that's what I've found as solution, but I thought there was a better way :-)

Raph

> Gennady.
> 
> Raphael Bauduin wrote:
> 
>> Hi,
>>
>> I'm writing some unit tests and the plan is to let them run each 
>> night, and producing a little
>> web page summarizing the results.
>>
>> I've written my tests, put them in a suite, and want to run them, but 
>> collect the results to build the web page afterwards. I use this code:
>>
>> result =    Test::Unit::TestResult.new()
>> MyTestClass.suite.run(result) {|s, name| puts "Status=#{s} and name = 
>> #{name}"}
>>
>> This runs absolutely fin, but test/unit then automatically starts to 
>> run all tests define in the file.
>> This is a feature of test/unit (as noted at 
>> http://www.ruby-doc.org/stdlib/libdoc/test/unit/rdoc/index.html and
>> at http://www.rubygarden.org/ruby?UsingTestUnit), but I really don't 
>> need it here. Can I turn this behaviour off?
>>
>> Thanks.
>>
>> Raph
>>
> 
> 
>