Monday, September 24, 2007

ATF meets XML

During the last couple of days, I've been working on the main major change planned for the upcoming ATF 0.3 release: the ability to generate XML reports with the tests results so that they can later be converted to HTML.

It goes like this: you first run a test suite by means of the atf-run tool, then use the atf-report utility to convert atf-run's output to the new XML format and at last use a standard XSLT processor to transform the document to whichever other format you want. I'm including sample XSLT and CSS style-sheets in the package to ease this process.

I've uploaded an example of what this currently looks like, but be aware that this is still a very preliminary mockup. For example, adding more details for failed stuff is needed to ease debugging later on. Comments welcome!

5 comments:

xtraeme said...

It's pretty nice! I like the stylesheet, it's clean, simple and looks IMHO really good. Good work, Julio.

Dennis den Brok said...

Very nice indeed! Keep up this important work!

Adam said...

Good work julio, it's nice and we can use it within our build/release program in netbsd.

Adam said...

Hi

I thought about atf today and I have one question. Can we extend atf functionality to test system against performance regression ? it should be nice to auto generate bechmarks from atf.

Julio M. Merino Vidal said...

Adam: Performance benchmarking is planned, but in the long term. Please use the mailing list (see the project's page) for further, similar questions. Thanks.