<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Something Pithy - tools tag</title>
  <link>http://donie.homeip.net:8080/pebble/Steve/tags/tools/</link>
  <description>my geekness knows no bounds</description>
  <language>en</language>
  <copyright>Steve Donie</copyright>
  <lastBuildDate>Thu, 08 May 2008 15:10:56 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>More fitnesse and CruiseControl.net integration</title>
    <link>http://donie.homeip.net:8080/pebble/Steve/2006/03/03/1141402099988.html</link>
    
      
        <description>
          
In a &lt;span class=&#034;nobr&#034;&gt;&lt;a href=&#034;http://codebetter.com/blogs/jeffrey.palermo/archive/2005/09/13/131914.aspx&#034;&gt;previous post&lt;/a&gt;&lt;/span&gt; I mentioned how my co-worker Jeffrey Palermo and I have created a stylesheet to integrate Fitnesse summary results into the CruiseControl.NET web dashboard. I have just added a new stylesheet that shows the details. It isn&#039;t super-pretty, but we wanted it because we have started doing some tests that take quite a while to run - sometimes 3 minutes to finish a page. So when we get a failure, I wanted to be able to see what the exact failures were without having to re-run the test. That data is in the XML, but the problem I ran into is that it is stored as HTML inside a CDATA section. Doing an XSL transform on that with the xsl:output mode set to html results in seeing the actual html on the page. So I set the output mode to text, and pared the xsl down to something pretty lightweight. I&#039;ve &lt;span class=&#034;nobr&#034;&gt;&lt;a href=&#034;/pebble/Steve/files/fitnesse-details.xsl&#034;&gt;attached it here&lt;/a&gt;&lt;/span&gt; for your enjoyment.&lt;p class=&#034;paragraph&#034;/&gt;To use it, change the dashboard.config file on your fitnesse server to have a section/line like this:
&lt;div class=&#034;code&#034;&gt;&lt;pre&gt;&lt;span class=&#034;xml&amp;#45;tag&#034;&gt;&amp;#60;plugins&amp;#62;&lt;/span&gt;
&amp;#8230; lots snipped &amp;#8230;
	&lt;span class=&#034;xml&amp;#45;tag&#034;&gt;&amp;#60;buildPlugins&amp;#62;&lt;/span&gt;
		&lt;span class=&#034;xml&amp;#45;tag&#034;&gt;&amp;#60;xslReportBuildPlugin description=&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034;NUnit Details&#034;&lt;/span&gt; 
			actionName=&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034;NUnitDetailsBuildReport&#034;&lt;/span&gt; xslFileName=&#034;xsl&amp;#92;&amp;#92;tests.xsl&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034; /&amp;#62;&lt;/span&gt;
		&lt;span class=&#034;xml&amp;#45;tag&#034;&gt;&amp;#60;xslReportBuildPlugin description=&#034;&lt;/span&gt;NUnit Timings&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034; 
			actionName=&#034;&lt;/span&gt;NUnitTimingsBuildReport&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034; xslFileName=&#034;&lt;/span&gt;xsl&amp;#92;&amp;#92;timing.xsl&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034; /&amp;#62;&lt;/span&gt;&lt;p class=&#034;paragraph&#034;/&gt;&amp;#8230; more snippage ...&lt;p class=&#034;paragraph&#034;/&gt;	       &lt;span class=&#034;xml&amp;#45;tag&#034;&gt;&amp;#60;xslReportBuildPlugin description=&#034;&lt;/span&gt;FitNesse Summary&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034; 
			actionName=&#034;&lt;/span&gt;FitNesseSummary&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034; xslFileName=&#034;&lt;/span&gt;xsl&amp;#92;&amp;#92;fitnesse.xsl&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034; /&amp;#62;&lt;/span&gt;
	       &lt;span class=&#034;xml&amp;#45;tag&#034;&gt;&amp;#60;xslReportBuildPlugin description=&#034;&lt;/span&gt;FitNesse Details&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034; 
			actionName=&#034;&lt;/span&gt;FitNesseDetails&lt;span class=&#034;xml&amp;#45;quote&#034;&gt;&#034; xslFileName=&#034;&lt;/span&gt;xsl&amp;#92;&amp;#92;fitnesse&amp;#45;details.xsl&#034; /&amp;#62;&lt;/span&gt;
	&lt;span class=&#034;xml&amp;#45;tag&#034;&gt;&amp;#60;/buildPlugins&amp;#62;&lt;/span&gt;
&lt;span class=&#034;xml&amp;#45;tag&#034;&gt;&amp;#60;/plugins&amp;#62;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p class=&#034;paragraph&#034;/&gt;&lt;b class=&#034;bold&#034;&gt;Things to note:&lt;/b&gt; the results as shown in CC.Net are not pretty - I only embedded enough style to show the &#039;correct&#039; cells in green and the &#039;wrong&#039; cells in red, etc. There is an image link in there that doesn&#039;t show up correctly, and you may also see javascript links if you have a setup page or anything like that. Those links won&#039;t work. It could certainly be made prettier by embedding more styles into the xsl - I&#039;ll leave that as an exercise for the reader. If you do anything like that, feel free to submit it here as a comment (or send me email - there is a link on my home page) and I&#039;ll update the file for others. 

        </description>
      
      
    
    
    <enclosure url="http://donie.homeip.net:8080/pebble/Steve/files/fitnesse-details.xsl" length="0" type="" />
    
    
    <comments>http://donie.homeip.net:8080/pebble/Steve/2006/03/03/1141402099988.html#comments</comments>
    <guid isPermaLink="true">http://donie.homeip.net:8080/pebble/Steve/2006/03/03/1141402099988.html</guid>
    <pubDate>Fri, 03 Mar 2006 16:08:19 GMT</pubDate>
  </item>
  
  <item>
    <title>Blogging tool upgrade</title>
    <link>http://donie.homeip.net:8080/pebble/Steve/2005/08/18/1124427054097.html</link>
    
      
        <description>
          &lt;p&gt;
Now running Pebble 1.9. Upgrade from 1.8 went pretty smoothly, although I had a few hiccups. I had forgotten where my blog data was stored, and where those settings were. They get kept in webapps\pebble\WEB-INF\classes\pebble.properties, and that file got deleted when I deleted the old webapp. Shoulda copied the whole pebble directory somewhere safe before the upgrade. Oh well. Didn&#039;t lose any data. 
&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://donie.homeip.net:8080/pebble/Steve/2005/08/18/1124427054097.html#comments</comments>
    <guid isPermaLink="true">http://donie.homeip.net:8080/pebble/Steve/2005/08/18/1124427054097.html</guid>
    <pubDate>Fri, 19 Aug 2005 04:50:54 GMT</pubDate>
  </item>
  
  </channel>
</rss>
