Hey all,
I am not a programmer, so please be forgiving if my problem is fairly easy to solve for many of you (yet I still might find it confusing).
The problem I am having is with ci_reporter, a gem for use with Watir and Test/Unit.
It is outputting the test results from a Watir test to an xml file. Great so far. Unfortunately I cannot find a way to have ci_reporter add a xsl stylesheet declaration just after the xml declaration.
<?xml version="1.0" encoding="UTF-8"?>
<testsuite time="6.796" assertions="1" name="TC_LoginTests" failures="0" tests="1" skipped="0" errors="0">
<testcase time="6.796" assertions="1" name="test_loginValid">
</testcase>
What I want it to do is:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="stylesheet.xsl"?>
<testsuite time="6.796" assertions="1" name="TC_LoginTests" failures="0" tests="1" skipped="0" errors="0">
<testcase time="6.796" assertions="1" name="test_loginValid">
</testcase>
I thought perhaps there would be a parameter to set somewhere, but I have not found it if there is one. It will be quite tedious to add the stylesheet declaration manually each time.
Is there a simple solution to this problem?