On 6/27/06, Johan Nilsson <
r.johan.nilsson@...> wrote:
> Edward Summers wrote:
> > So I saw some talk way back when about a RakeBuilder for
> > CruiseControl...but I don't see any established way of integrating CC
> > with Ruby. I can schedule an <exec> just fine, and can see when
> > builds fail using the return code...but I'd like to be able to see
> > which tests failed etc...
> >
> > Has anyone cooked up something for CC that groks test/unit output? If
> > not does anyone have an opinion about how fruitful/easy it would be
> > to create one?
>
> I guess you could implement your own xml output testrunner, and merge the
> output to the log. I think there's already an xml testrunner but I'd guess
> the format's not junit compatible (is the junit format actually documented
> somewhere?).
>
> We're in the middle of testing/implementing a transforming log merger
> plug-in, accepting an XSLT file as argument, for similar reasons to yours.
> Can't release the source though.
output doesn't need to fully match the ant output, only the parts that
CC's unittests.xsl uses. as long as you can get a file w/the test
output from ruby (xml or even plain text) should be easy to write
something to convert it into the appropriate file format and then
merge. I even did this at one point for WinRunner -- wrote a custom
ant task to convert their plain text output into an xml file.
wrt the xslt why not just use the ant xslt and then merge the transformed file?
Jtf
--
http://www.developertesting.com/Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user