<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/junitth/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 02 Sep 2014 12:25:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/junitth/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Tue, 02 Sep 2014 12:25:36 -0000</pubDate><guid>https://sourceforge.net617ad8a826a39c221c0c3c4a0388442f66eda87a</guid></item><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -6,6 +6,19 @@
 There are two versions that can be downloaded, a Jenkins plugin or as a stand alone tool.

 ## UnitTH Jenkins plugin ##
+For Jenkins users there is a light version of the tool that provides the test failure matrix for a given job.
+
+**Installing**
+Download the latest plugin from here: &amp;lt;https: sourceforge.net="" projects="" junitth="" files="" unitth-jenkins-plugin=""/&amp;gt;. Then on the manage plugins page in Jenkins there is an Advanced tab, where you can upload the unitth plugin, no further configuration needed.
+
+**Using it**
+In the job configuration UnitTH will surface as a Post-build action, select it together with publish JUnit test results which generates the slimmed down XML needed that UnitTH parses the test history.
+
+* As Post-build actions
+    1. Configure Publish JUnit test results
+    * Enable UnitTH
+
+The results will then be available from the job sidebar.

 ## UnitTH as a standalone tool ##
 For the test history report generated using the console it displays various different sortable test statistics, trends, graphs and references to the included JUnit test reports.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Tue, 02 Sep 2014 11:52:49 -0000</pubDate><guid>https://sourceforge.net9041f320824d9d2f871b68bcef4b822d9030ad9d</guid></item><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -8,7 +8,6 @@
 ## UnitTH Jenkins plugin ##

 ## UnitTH as a standalone tool ##
-[[download_button]]
 For the test history report generated using the console it displays various different sortable test statistics, trends, graphs and references to the included JUnit test reports.

 ### Using UnitTH from the console ###
@@ -82,3 +81,6 @@
   &amp;lt;/java&amp;gt;
 &amp;lt;/target&amp;gt;
 
+
+## Downloads ##
+[[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Tue, 02 Sep 2014 11:42:56 -0000</pubDate><guid>https://sourceforge.net9d2ee9e5542c5bf5eecc19efcf20b5fc764289df</guid></item><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -8,6 +8,7 @@
 ## UnitTH Jenkins plugin ##

 ## UnitTH as a standalone tool ##
+[[download_button]]
 For the test history report generated using the console it displays various different sortable test statistics, trends, graphs and references to the included JUnit test reports.

 ### Using UnitTH from the console ###
@@ -81,4 +82,3 @@
   &amp;lt;/java&amp;gt;
 &amp;lt;/target&amp;gt;
 
-[[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Tue, 02 Sep 2014 11:42:14 -0000</pubDate><guid>https://sourceforge.netaadd1f25980cc8bca9bc5c5468d159e2841024c1</guid></item><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Tue, 02 Sep 2014 11:41:16 -0000</pubDate><guid>https://sourceforge.net956a207810e63a7ebe152840ea7d54b81c9c6214</guid></item><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -54,4 +54,31 @@
 &amp;lt;/target&amp;gt;
 

+**Generating a test history**
+
+The generate.history target takes the input folders as a single argument. The rest of the test history generation parmeters will be picked up by the unitth.properties file in the current folder in $HOME. 
+
+&lt;code&gt;
+&amp;lt;target name="generate.history" description="Generates a test history from existing Unit-reports."&amp;gt;
+  &amp;lt;java jar="${bin.dir}/unitth.jar" fork="true" failonerror="true" maxmemory="128m"&amp;gt;
+    &amp;lt;arg value="${reportStorage}/report-*"/&amp;gt;
+  &amp;lt;/java&amp;gt;
+&amp;lt;/target&amp;gt;
+&lt;/code&gt;
+The properties read from the unitth.properties can be overridden by defining system properties. Include the sysproperty in your ant target.
+
+&lt;code&gt;
+&amp;lt;-- Example where system properties are set --&amp;gt;
+&amp;lt;target name="generate.history" description="Generates a test history from existing Unit-reports."&amp;gt;
+  &amp;lt;java jar="${bin.dir}/unitth.jar" fork="true" failonerror="true" maxmemory="128m"&amp;gt;
+  
+    &amp;lt;sysproperty key="unitth.html.report.path" value="."/&amp;gt;
+    &amp;lt;sysproperty key="unitth.report.dir" value="report.out"/&amp;gt;
+    &amp;lt;sysproperty key="unitth.generate.exectimegraphs" value="false"/&amp;gt;
+    &amp;lt;sysproperty key="unitth.xml.report.filter" value="TEST-"/&amp;gt;
+  
+    &amp;lt;arg value="${reportStorage}/report-*"/&amp;gt;
+  &amp;lt;/java&amp;gt;
+&amp;lt;/target&amp;gt;
+&lt;/code&gt;
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Tue, 02 Sep 2014 11:39:54 -0000</pubDate><guid>https://sourceforge.nete0fcbc28ae1336381fb715f398b956332ee81be9</guid></item><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,21 +1,16 @@
 [TOC]

-UnitTH
-======
+# UnitTH #
 UnitTH is a tool for generating a set of HTML test history pages from JUnit and TestNG test results.

 There are two versions that can be downloaded, a Jenkins plugin or as a stand alone tool.

-UnitTH Jenkins plugin
----------------------
+## UnitTH Jenkins plugin ##

-
-UnitTH as a standalone tool
----------------------------
+## UnitTH as a standalone tool ##
 For the test history report generated using the console it displays various different sortable test statistics, trends, graphs and references to the included JUnit test reports.

-**Using UnitTH from the console**
-
+### Using UnitTH from the console ###
 * Unzip the downloadable zip-file
 * Copy the unitth.properties file to $HOME or to the folder from where to execute UnitTH
 * Set the correct settings in the unitth.properties files
@@ -27,13 +22,36 @@
 * -v --version Shows the UnitTH version.

 **Example:**
-:::bash
-$ java -jar unzippedToFolder/unitth.jar storedAwayReports/report*
+&lt;code&gt;
+$ java -jar unzippedToFolder/unitth.jar storedAwayReports/report∗
+&lt;/code&gt;
+The properties set in the unitth.properties file can be overridden using system properties as exemplified below.
+&lt;code&gt;
+$ java -Dunitth.report.dir=&amp;lt;report to="" folder=""&amp;gt; -jar unzippedToFolder/unitth.jar storedAwayReports/report∗
+&lt;/code&gt;

-The properties set in the unitth.properties file can be overridden using system properties as exemplified below.
+### Integrating UnitTH with Ant scripts ###
+The top three targets below shall be well known. Storing the test report and generating the test history targets might be new targets to implement. Below are examples for how these can be implemented.

-$ java -Dunitth.report.dir=&amp;lt;report to="" folder=""&amp;gt; -jar unzippedToFolder/unitth.jar storedAwayReports/report*
+* build
+* test
+* generate test report
+* store test report
+* generate test history report

+**Storing the test report**

+Create a simple target that copies away the latest generated test report. Use the same folder for all stored away test reports to make it simpler to point out which folders to use as input for the test history generation. 
+
+&lt;code&gt;
+&amp;lt;target name="store.junit.report" description="Saves away the generated JUnit test report."&amp;gt;
+  &amp;lt;tstamp&amp;gt;
+    &amp;lt;format property="start.timestamp" pattern="yyyyMMdd-HHmmss"/&amp;gt;
+  &amp;lt;/tstamp&amp;gt;
+  &amp;lt;copy todir="${reportStorage}/report-${start.timestamp}"&amp;gt;
+    &amp;lt;fileset dir="report"/&amp;gt;
+  &amp;lt;/copy&amp;gt;
+&amp;lt;/target&amp;gt;
+&lt;/code&gt;

 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Tue, 02 Sep 2014 11:37:54 -0000</pubDate><guid>https://sourceforge.netf56ca558ae9d0c0d9a74f5954f97887e28ee8e1f</guid></item><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,7 @@
+[TOC]
+
 UnitTH
 ======
-
 UnitTH is a tool for generating a set of HTML test history pages from JUnit and TestNG test results.

 There are two versions that can be downloaded, a Jenkins plugin or as a stand alone tool.
@@ -25,5 +26,14 @@
 * -h --help Shows the UnitTH help.
 * -v --version Shows the UnitTH version.

+**Example:**
+:::bash
+$ java -jar unzippedToFolder/unitth.jar storedAwayReports/report*
+
+The properties set in the unitth.properties file can be overridden using system properties as exemplified below.
+
+$ java -Dunitth.report.dir=&amp;lt;report to="" folder=""&amp;gt; -jar unzippedToFolder/unitth.jar storedAwayReports/report*
+
+

 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Tue, 02 Sep 2014 10:21:33 -0000</pubDate><guid>https://sourceforge.net1b66d9729bf23ca5f58cad1deadfd2fa3b8dab67</guid></item><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,29 @@
-Welcome to your wiki!
+UnitTH
+======

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+UnitTH is a tool for generating a set of HTML test history pages from JUnit and TestNG test results.

-The wiki uses [Markdown](/p/junitth/wiki/markdown_syntax/) syntax.
+There are two versions that can be downloaded, a Jenkins plugin or as a stand alone tool.

-[[members limit=20]]
+UnitTH Jenkins plugin
+---------------------
+
+
+UnitTH as a standalone tool
+---------------------------
+For the test history report generated using the console it displays various different sortable test statistics, trends, graphs and references to the included JUnit test reports.
+
+**Using UnitTH from the console**
+
+* Unzip the downloadable zip-file
+* Copy the unitth.properties file to $HOME or to the folder from where to execute UnitTH
+* Set the correct settings in the unitth.properties files
+* Run the jar file taking a set of JUnit test report folders as input (XML format)
+
+**Input flags**
+
+* -h --help Shows the UnitTH help.
+* -v --version Shows the UnitTH version.
+
+
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Tue, 02 Sep 2014 10:14:16 -0000</pubDate><guid>https://sourceforge.net2fbbe861551e804917753c74497afc965113dee1</guid></item><item><title>Home modified by Andreas Nyberg</title><link>https://sourceforge.net/p/junitth/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/junitth/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;&lt;ul class="md-users-list"&gt;&lt;li&gt;&lt;a href="/u/andnyb/"&gt;Andreas Nyberg&lt;/a&gt; (admin)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-517976ca34309d5b4ca61e19" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Nyberg</dc:creator><pubDate>Thu, 25 Apr 2013 18:32:44 -0000</pubDate><guid>https://sourceforge.net6b27700b0f6e5bb1a3819ccf8d3cb6affedfc46f</guid></item></channel></rss>