changeset 3:af958c5027b1

add test junit summary xsl
author smith@nwoca.org
date Thu, 09 Jun 2011 11:57:09 -0400
parents 09f9f3d5c507
children bace8c04e066
files src/org/ssdt_ohio/tools/ant/junit-summary_1.xsl
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/ssdt_ohio/tools/ant/junit-summary_1.xsl	Thu Jun 09 11:57:09 2011 -0400
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document   : junit-summary.xsl
+    Created on : June 9, 2011, 7:22 PM
+    Author     : smith
+    Description:
+        Purpose of transformation follows.
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:output method="text"/>
+<xsl:template match="/">
+<xsl:for-each select="//testcase">
+<xsl:value-of select="@classname"/>.<xsl:value-of select="@name"/> failure=<xsl:value-of select="count(falure)"/> error=<xsl:value-of select="count(error)"/>  
+<xsl:text>    
+</xsl:text>
+</xsl:for-each>
+</xsl:template>
+</xsl:stylesheet>