I'd suggest using ci-reporter -
http://rubyforge.org/projects/caldersphere/- for your main test
reporting, though honestly I've got little experience
with it and am still using it's predecessor test-unit report. For your puts
statements why not use ruby's logger or log4r instead? Dump your puts
statements and replace them with log calls to a file.

Log4R: http://log4r.sourceforge.net/
Logger is part of ruby, there are examples of subclassing and usage inside
Watir.rb

-Charley

On 7/6/07, Chong <[EMAIL PROTECTED]> wrote:

If you don't need the console output to be real-time, perhaps you could
use the following as a launcher script?

IO.sync = true
out_file = File.new('test_output.log', 'w')
ret = `ruby test_main.rb`
$stdout << ret
out_file << ret
out_file.close
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to