[Wtr-general] Converting into LOG
Adam Reed
areed at relocationcentral.com
Fri Mar 2 13:44:09 EST 2007
Thanks for the heads up on CruiseControl. I was happy with my current
logging/notification, but this looks like a great alternative!
________________________________
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Charley Baker
Sent: Friday, March 02, 2007 11:14 AM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Converting into LOG
Hi Harish,
You can use test-report or ci-reporter on rubyforge to output your
results. My tests are hooked up through Cruise Control on a continuous
integration server which picks up the reports, sends out email and can
also display logs in the Cruise Control build artifacts on the ci box cc
site.
Test-report is no longer listed on rubyforge, it's successor is
ci_reporter: http://rubyforge.org/forum/forum.php?forum_id=12202
Rather than roll your own solution you might want to look at
CruiseControl, Bamboo, CruiseControl.rb:
http://cruisecontrolrb.thoughtworks.com/documentation/index.html
or other build projects. They support email, report gathering of xUnit
style reports and custom build artifacts ( i.e. a log file that you
might want to generate during your test run.) Instead of logging to
standard out, take a look at a logging library such as the one that
comes with ruby:
http://www.ruby-doc.org/core/classes/Logger.html
or Log4r: http://log4r.sourceforge.net
You should be able to easily configure a CI server to do what you want
pretty easily. On the other hand if you still want to roll your own,
then you can kick out logs, use test-report or ci-reporter for results,
maybe timestamp them and mail them out as attachments using some of the
email libraries that have been mentioned previously on the list.
-Charley
On 3/2/07, Naga Harish Kanegolla <forum-watir-users at openqa.org> wrote:
Hi all,
Right now I am able to test all my test cases, and i am
getting the out put lines in the console. Is there any possibility to
get the whole out put and the test pass or fail result etc into a
"LOG"file so that it can be sent as an email.
I tried for the reports in the page
http://rubyforge.org/projects/test-report/ but we need to have like a
log file, Please help me if there is any possibility. Thanks a lot,
Harish
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6765&messageID=19486#19486
_______________________________________________
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/20070302/03882f4f/attachment-0001.html
More information about the Wtr-general
mailing list