3
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
|
3 <!--
|
|
4 Document : junit-summary.xsl
|
|
5 Created on : June 9, 2011, 7:22 PM
|
|
6 Author : smith
|
|
7 Description:
|
|
8 Purpose of transformation follows.
|
|
9 -->
|
|
10
|
|
11 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
12 <xsl:output method="text"/>
|
|
13 <xsl:template match="/">
|
|
14 <xsl:for-each select="//testcase">
|
|
15 <xsl:value-of select="@classname"/>.<xsl:value-of select="@name"/> failure=<xsl:value-of select="count(falure)"/> error=<xsl:value-of select="count(error)"/>
|
|
16 <xsl:text>
|
|
17 </xsl:text>
|
|
18 </xsl:for-each>
|
|
19 </xsl:template>
|
|
20 </xsl:stylesheet>
|