I'd suggest using ci-reporter - <a href="http://rubyforge.org/projects/caldersphere/">http://rubyforge.org/projects/caldersphere/</a> - 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.
<br><br>Log4R: <a href="http://log4r.sourceforge.net/">http://log4r.sourceforge.net/</a><br>Logger is part of ruby, there are examples of subclassing and usage inside Watir.rb<br><br>-Charley<br><br><div><span class="gmail_quote">
On 7/6/07, <b class="gmail_sendername">Chong</b> <<a href="mailto:forum-watir-users@openqa.org">forum-watir-users@openqa.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you don't need the console output to be real-time, perhaps you could use the following as a launcher script?<br><br>IO.sync = true<br>out_file = File.new('test_output.log', 'w')<br>ret = `ruby test_main.rb`
<br>$stdout << ret<br>out_file << ret<br>out_file.close<br>_______________________________________________<br>Wtr-general mailing list<br><a href="mailto:Wtr-general@rubyforge.org">Wtr-general@rubyforge.org</a>
<br><a href="http://rubyforge.org/mailman/listinfo/wtr-general">http://rubyforge.org/mailman/listinfo/wtr-general</a><br></blockquote></div><br>