<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=961423518-02032007><FONT face=Arial 
color=#0000ff size=2>Thanks for the heads up on CruiseControl.&nbsp; I was happy 
with my current logging/notification, but this looks like a great 
alternative!</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> wtr-general-bounces@rubyforge.org 
[mailto:wtr-general-bounces@rubyforge.org] <B>On Behalf Of </B>Charley 
Baker<BR><B>Sent:</B> Friday, March 02, 2007 11:14 AM<BR><B>To:</B> 
wtr-general@rubyforge.org<BR><B>Subject:</B> Re: [Wtr-general] Converting into 
LOG<BR></FONT><BR></DIV>
<DIV></DIV>Hi Harish, <BR><BR>&nbsp;&nbsp; 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. <BR><BR>&nbsp;&nbsp; Test-report is no longer listed on 
rubyforge, it's successor is ci_reporter: <A 
href="http://rubyforge.org/forum/forum.php?forum_id=12202">http://rubyforge.org/forum/forum.php?forum_id=12202</A>&nbsp;&nbsp; 
Rather than roll your own solution you might want to look at CruiseControl, 
Bamboo, CruiseControl.rb: <A 
href="http://cruisecontrolrb.thoughtworks.com/documentation/index.html">http://cruisecontrolrb.thoughtworks.com/documentation/index.html</A> 
<BR>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.)&nbsp; Instead of logging to standard out, take a 
look at a logging library such as the one that comes with ruby: <BR><A 
href="http://www.ruby-doc.org/core/classes/Logger.html">http://www.ruby-doc.org/core/classes/Logger.html</A><BR>or 
Log4r: <A href="http://log4r.sourceforge.net">http://log4r.sourceforge.net</A> 
<BR><BR>&nbsp;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. 
<BR><BR>-Charley<BR><BR>
<DIV><SPAN class=gmail_quote>On 3/2/07, <B class=gmail_sendername>Naga Harish 
Kanegolla</B> &lt;<A 
href="mailto:forum-watir-users@openqa.org">forum-watir-users@openqa.org</A>&gt; 
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
  all,<BR>&nbsp;&nbsp; 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. <BR><BR>I tried for the reports in the page <A 
  href="http://rubyforge.org/projects/test-report/">http://rubyforge.org/projects/test-report/</A>&nbsp;&nbsp;but 
  we need to have like a log file, Please help me if there is any possibility. 
  Thanks a lot, 
  <BR><BR>Harish<BR>---------------------------------------------------------------------<BR>Posted 
  via Jive Forums<BR><A 
  href="http://forums.openqa.org/thread.jspa?threadID=6765&amp;messageID=19486#19486">http://forums.openqa.org/thread.jspa?threadID=6765&amp;messageID=19486#19486 
  </A><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></BODY></HTML>