From: Jano Svitok Date: 2007-07-20T23:53:25+09:00 Subject: Re: Can Test/Unit output in XML? On 7/20/07, Jano Svitok wrote: > On 7/19/07, Maung Aung wrote: > > Hi, > > > > Is there any way that I can get test/unit output file in XML format? Any > > helpful advice would be very appreciated. > > If there's nothing ready, it should not be hard to createa custom > runner/outputter that will write xml. > > Have a look at test/unit/ui/console/testrunner.rb how it writes to > console for start. I have had a look and it's easy to do. The "hardest" part is to define xml scheme. Then use xmlbuilder or anything else, and redefine add_fault (two types here, errors and failures), started, finished, maybe test_started and test_finished. J.