[Wtr-general] Reporting suggestions?

Charley Baker charley.baker at gmail.com
Fri Jul 6 15:36:55 EDT 2007


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 <forum-watir-users at openqa.org> 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070706/cb540401/attachment-0001.html 


More information about the Wtr-general mailing list