1 <?xml version=
"1.0" encoding=
"UTF-8" ?>
2 <xsl:stylesheet version=
"1.0" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
3 <xsl:output method='text'
/>
5 <xsl:template match=
"/">
9 <xsl:template match=
"test-results">
10 <xsl:text>Tests run:
</xsl:text>
11 <xsl:value-of select=
"@total"/>
12 <xsl:text>, Failures:
</xsl:text>
13 <xsl:value-of select=
"@failures"/>
14 <xsl:text>, Not run:
</xsl:text>
15 <xsl:value-of select=
"@not-run"/>
16 <xsl:text>, Time:
</xsl:text>
17 <xsl:value-of select=
"test-suite/@time"/>
23 <xsl:if test=
"//test-suite[failure]"><xsl:text>Test Fixture SetUp Failures:
25 <xsl:apply-templates select=
"//test-suite[failure]"/>
26 <xsl:if test=
"//test-case[failure]"><xsl:text>Test Case Failures:
28 <xsl:apply-templates select=
"//test-case[failure]"/>
29 <xsl:if test=
"//test-case[@executed='False']"><xsl:text>Tests not run:
31 <xsl:apply-templates select=
"//test-case[@executed='False']"/>
32 <xsl:text disable-output-escaping='yes'
>
</xsl:text>
35 <xsl:template match=
"test-case|test-suite">
36 <xsl:value-of select=
"position()"/><xsl:text>)
</xsl:text>
37 <xsl:value-of select=
"@name"/>
38 <xsl:text> :
</xsl:text>
39 <xsl:value-of select=
"child::node()/message"/>
40 <xsl:text disable-output-escaping='yes'
>
</xsl:text>
41 <xsl:if test=
"failure">
42 <xsl:value-of select=
"failure/stack-trace"/>