July 8, 2008
JSUnit XML to JUnit XML
We’re using JSUnit to run tests in our build system, and we’re using Bamboo to do continuous integration. Unfortunately, the XML spit out by JSUnit is not recognizable as JUnit XML for the purposes of integrating into Bamboo. I wrote this XSL stylesheet to transform the JSUnit XML report into a JUnit XML report that Bamboo can parse. It’s simple and inefficient, but hey, if you are looking at this, you probably just want to get the job done (like I did).
View jsunit_to_junit.xsl