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-case[failure]"><xsl:text>Failures:
25
<xsl:apply-templates select="//test-case[failure]"/>
26
<xsl:if test="//test-case[@executed='False']"><xsl:text>Tests not run:
28
<xsl:apply-templates select="//test-case[@executed='False']"/>
29
<xsl:text disable-output-escaping='yes'>
</xsl:text>
32
<xsl:template match="test-case">
33
<xsl:value-of select="position()"/><xsl:text>) </xsl:text>
34
<xsl:value-of select="@name"/>
35
<xsl:text> : </xsl:text>
36
<xsl:value-of select="child::node()/message"/>
37
<xsl:text disable-output-escaping='yes'>
</xsl:text>
38
<xsl:if test="failure">
39
<xsl:value-of select="failure/stack-trace"/>
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-case[failure]"><xsl:text>Failures:
25
<xsl:apply-templates select="//test-case[failure]"/>
26
<xsl:if test="//test-case[@executed='False']"><xsl:text>Tests not run:
28
<xsl:apply-templates select="//test-case[@executed='False']"/>
29
<xsl:text disable-output-escaping='yes'>
</xsl:text>
32
<xsl:template match="test-case">
33
<xsl:value-of select="position()"/><xsl:text>) </xsl:text>
34
<xsl:value-of select="@name"/>
35
<xsl:text> : </xsl:text>
36
<xsl:value-of select="child::node()/message"/>
37
<xsl:text disable-output-escaping='yes'>
</xsl:text>
38
<xsl:if test="failure">
39
<xsl:value-of select="failure/stack-trace"/>
b'\\ No newline at end of file'