<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Testing Thoughts &#187; FitNesse</title>
	<atom:link href="http://testing.gershon.info/category/nerd-t35t1ng/fitnesse/feed/" rel="self" type="application/rss+xml" />
	<link>http://testing.gershon.info</link>
	<description>Things to share about Software Testing</description>
	<lastBuildDate>Tue, 11 May 2010 22:40:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Stuart&#8217;s introductions to Fitnesse, FitNesse Series (Part 2)</title>
		<link>http://testing.gershon.info/200811/stuarts-introductions-to-fitnesse-fitnesse-series-part-2/</link>
		<comments>http://testing.gershon.info/200811/stuarts-introductions-to-fitnesse-fitnesse-series-part-2/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 13:47:07 +0000</pubDate>
		<dc:creator>Shmuel Gershon</dc:creator>
				<category><![CDATA[FitNesse]]></category>
		<category><![CDATA[Nerd T35t1ng]]></category>

		<guid isPermaLink="false">http://testing.gershon.info/20081128/stuarts-introductions-to-fitnesse-fitnesse-series-part-2/</guid>
		<description><![CDATA[Hi. Writing the Fitnesse posts turned to be harder than I thought. I do have a bit of tests ready for the triangle case, but not enough text to make an interesting post. As I&#8217;m not using Fitnesse in my day-to-day work, it makes it harder to bring cool insights or to explore on the framework. But [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image9" height="90" alt="FitNesseLogo" src="http://testing.gershon.info/wp-content/uploads/2007/04/fitnesselogo.gif" />Hi.</p>
<p><a href="http://testing.gershon.info/category/nerd-t35t1ng/fitnesse">Writing the Fitnesse posts</a> turned to be harder than I thought.<br />
I do have a bit of tests ready for the triangle case, but not enough text to make an interesting post. As I&#8217;m not using Fitnesse in my day-to-day work, it makes it harder to bring cool insights or to explore on the framework.</p>
<p>But I just discovered someone who not only uses Fitnesse at work, but also writes articles about Fitnesse that give the Fitnese feeling:</p>
<p><span id="more-44"></span>Stuart writes at <a href="http://working-thought.blogspot.com/">http://working-thought.blogspot.com/</a>.<br />
It seems as if his company has been trying Fitnesse for a while, and they&#8217;re over the initial pains. Now they&#8217;re on more advanced pains <img src='http://testing.gershon.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , but with apparently good results.</p>
<p>If you &#8216;ve already seen the <a href="http://fitnesse.org/FitNesse.TwoMinuteExample" target="_blank">Two Minute Example</a> at the <a href="http://fitnesse.org/">Fitnesse page</a>, then you know what Fitnesse if used for.<br />
Then start reading from &#8220;<a href="http://working-thought.blogspot.com/2008/06/fitnesse-for-dummies.html">Fitnesse for Dummies</a>&#8221; at Stuart&#8217;s blog (<em>and laugh at the ilarious GenericFixture.jar error page</em>). There are further posts later, like the very insightful <a href="http://working-thought.blogspot.com/2008/10/i-hate-fitnesse-fitnesse-rocks.html">love/hate relationship</a> with Fitnesse.</p>
<p> </p>
<p>As for me, the post I liked most was the one about <a href="http://working-thought.blogspot.com/2008/06/automate-this.html">test automations</a>, that has nothing to do with Fitnesse, but explains well many of the web-app testing tasks.</p>
<p>I wish luck to Stuart, and who knows? Maybe I&#8217;ll get back at posting about Fitnesse somewhen. <img src='http://testing.gershon.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://testing.gershon.info/200811/stuarts-introductions-to-fitnesse-fitnesse-series-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Triangle problem as a starting point &#8211; FitNesse Series (Part 1)</title>
		<link>http://testing.gershon.info/200707/the-triangle-problem-as-a-starting-point-fitnesse-series-part-1/</link>
		<comments>http://testing.gershon.info/200707/the-triangle-problem-as-a-starting-point-fitnesse-series-part-1/#comments</comments>
		<pubDate>Wed, 04 Jul 2007 19:14:46 +0000</pubDate>
		<dc:creator>Shmuel Gershon</dc:creator>
				<category><![CDATA[FitNesse]]></category>
		<category><![CDATA[Nerd T35t1ng]]></category>
		<category><![CDATA[Test Insight]]></category>

		<guid isPermaLink="false">http://testing.gershon.info/20070704/the-triangle-problem-as-a-starting-point-fitnesse-series-part-1/</guid>
		<description><![CDATA[Which came first, the chicken or the egg? And after all, why would any of them cross the road? That question is as old as time. How would you test a program which can return the type of a triangle based on the side widths? That question is as old as me. In 1979 (yes, I [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Which came <strong>first, the chicken or the egg</strong>? And after all, why would any of them cross the road?<br />
That question is as old as time.</li>
<li>How would you test <strong>a program which can return the type of a triangle based on the side widths</strong>?<br />
That question is as old as me.</li>
</ul>
<p><a title="The Art of Software Testing" href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fo%2FASIN%2F0471469122%3Fpf%5Frd%5Fm%3DATVPDKIKX0DER%26pf%5Frd%5Fs%3Dcenter-6%26pf%5Frd%5Fr%3D0TD64REN2A91HA0GT9Y6%26pf%5Frd%5Ft%3D101%26pf%5Frd%5Fp%3D278843901%26pf%5Frd%5Fi%3D507846&#038;tag=testithoug-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325" target="_blank"><img id="image14" height="96" alt="The Art of Software Testing cover image" src="http://testing.gershon.info/wp-content/uploads/2007/07/theartoofsoftwaretesting.jpg" /></a>In 1979 (<em>yes, I am that young <img src='http://testing.gershon.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </em>), <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fexec%2Fobidos%2Fsearch-handle-url%3F%255Fencoding%3DUTF8%26search-type%3Dss%26index%3Dbooks%26field-author%3DGlenford%2520J.%2520Myers&#038;tag=testithoug-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325">Glenford J. Myers</a><img style="margin: 0px; border: medium none" height="1" src="http://www.assoc-amazon.com/e/ir?t=testithoug-20&#038;l=ur2&#038;o=1" width="1" border="0" /> wrote what was to be the first classic book on Software Testing.<br />
Called &#8220;<a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fo%2FASIN%2F0471469122%3Fpf%5Frd%5Fm%3DATVPDKIKX0DER%26pf%5Frd%5Fs%3Dcenter-6%26pf%5Frd%5Fr%3D0TD64REN2A91HA0GT9Y6%26pf%5Frd%5Ft%3D101%26pf%5Frd%5Fp%3D278843901%26pf%5Frd%5Fi%3D507846&#038;tag=testithoug-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325">The Art of Software Testing</a><img style="margin: 0px; border: medium none" height="1" src="http://www.assoc-amazon.com/e/ir?t=testithoug-20&#038;l=ur2&#038;o=1" width="1" border="0" />&#8220;, this book is very old, and written with old software in mind &#8211; most technologies and methodologies existing today were not dreamed of back then.<br />
Well, it turns out the principles of software &#8211; <em>from writing it to testing it</em> - are still pretty much the same. Software is still written on sort of punchcards, the punchcards just got more complex and flexible&#8230; <strong>The book content is surprisingly relevant for today&#8217;s testers</strong> &#8211; so much, that it was updated only once in almost 30 years.<br />
<strong>If you haven&#8217;t, read the book.</strong> Unfortunately, I have read it only partially meanwhile.</p>
<p>Maybe the most known contribution of Mr. Glenford in this book is the <strong>testing self-assessment challenge</strong> in the introduction.</p>
<p><span id="more-13"></span>It goes like this:</p>
<blockquote><p>A Software is given, which receives three inputs (<em>numbers</em>) that define the size of a triangle&#8217;s sides. The SW can, then, categorize the triangle in one of these categories: Equilateral, Scalene, Isosceles or Invalid.<br />
How many test cases can you build for testing this triangle?<br />
The more heterogeneous the cases the better, and: The more effective, better yet.</p></blockquote>
<p>Myers brings then an assessment criteria. If the test cases you came up fit into enough categories such as the ones below, you are in a good way:</p>
<ul>
<li>Test cases that represents a valid scalene/isosceles/equilateral triangle.</li>
<li>Test cases that represent valid isosceles triangles such that there are all three permutations of two equal sides.</li>
<li>Test cases in which one side has a zero value, or negative value.</li>
<li>Test cases that represent invalid triangles.</li>
<li>&#8230; </li>
</ul>
<p>The example is famous, because it grasps clearly the distance between coding and testing. Writing such a program may take about 30 minutes of work to a programmer (<em>I did <a href="http://www.gershon.info/testing/files/Triangle_FitNesse_Part01.cs" target="_blank">this first version</a> in 20 minutes</em>), but testing the program can be a never-ending task.</p>
<hr /><img id="image9" height="90" alt="FitNesseLogo" src="http://testing.gershon.info/wp-content/uploads/2007/04/fitnesselogo.gif" />How would we use Triangle Problem?           </p>
<p>We will use this problem as the <strong>example to do all the acceptance tests from FitNesse</strong>.</p>
<p>We&#8217;ll have this DLL &#8211; based on <a href="http://www.gershon.info/testing/files/Triangle_FitNesse_Part01.cs" target="_blank">the C# code above</a> &#8211; and we will connect this to our FitNesse server. We will then start checking inputs and outputs. All this in Part 2 of the FitNesse Series!</p>
<hr />The triangle exercise is now all over the internet.<br />
You can read about it in the following links:            </p>
<ol>
<li><strong>Google Search &#8211; &#8220;software testing triangle equilateral&#8221;<br />
</strong><a href="http://www.google.com/search?q=%22software+testing%22+triangle+equilateral">http://www.google.com/search?q=%22software+testing%22+triangle+equilateral</a><br />
You&#8217;ll find most of what&#8217;s online and cool here.</li>
<li><strong>Example with working application (!) for you to test:<br />
</strong><a href="http://www.testobsessed.com/2007/03/21/testing-triangles-a-classic-exercise-updated-for-the-web/">http://www.testobsessed.com/2007/03/21/testing-triangles-a-classic-exercise-updated-for-the-web/</a><br />
Quality Tree Software&#8217;s Elisabeth brought the triangle to the   attention of all again when she posted it on her website.<br />
The working example by Elisabeth: <a href="http://www.testobsessed.com/exercises/triangle.html">http://www.testobsessed.com/exercises/triangle.html</a></li>
<li><strong>Challenge Definition by Alex Samurin<br />
</strong><a href="http://www.geocities.com/xtremetesting/TriangleTest.html">http://www.geocities.com/xtremetesting/TriangleTest.html</a><br />
Alex has a short explanation of the original problem as it was presented by Myers.</li>
<li><strong>Malik&#8217;s Code Inspections<br />
</strong><a href="http://codeinspections.blogspot.com/">http://codeinspections.blogspot.com/</a><br />
Malik summarizes in two paragraphs the two most interesting points on the abovementioned application by Elisabeth: Floating point calculations and sorting algorithms.</li>
<li><strong>The exercise, Bollywood style <img src='http://testing.gershon.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
</strong><a href="http://venkatreddyc.wordpress.com/2007/03/24/taking-on-testing-triangles-a-classic-excercise/">http://venkatreddyc.wordpress.com/2007/03/24/taking-on-testing-triangles-a-classic-excercise/</a><br />
Venkat has written some insights (<em>in a dramatic voice</em>) on the triangle javascript app. I recommend this one, because the pace and steps are <u>very didactic</u>.</li>
<li>Last but not least <img src='http://testing.gershon.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> :<br />
<strong>My post on it</strong>: <a title="A Triangle mystery (not the Bermuda's)" href="http://testing.gershon.info/a-triangle-mystery-not-the-bermudas/">A Triangle mystery (not the Bermudas&#8217;)</a>. I turned this post into a page/article, &#8217;cause it is a useful subject.<br />
Pay attention, I am not trying to really test the triangle application. This is new stuff &#8211; we are using the triangles to test the FitNesse framework! Go for it!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://testing.gershon.info/200707/the-triangle-problem-as-a-starting-point-fitnesse-series-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FitNesse Series in Testing Thoughts (Part 0)</title>
		<link>http://testing.gershon.info/200703/fitnesse-series-in-testing-thoughts-part-0/</link>
		<comments>http://testing.gershon.info/200703/fitnesse-series-in-testing-thoughts-part-0/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 22:44:47 +0000</pubDate>
		<dc:creator>Shmuel Gershon</dc:creator>
				<category><![CDATA[FitNesse]]></category>
		<category><![CDATA[Nerd T35t1ng]]></category>
		<category><![CDATA[Test Insight]]></category>

		<guid isPermaLink="false">http://testing.gershon.info/20070510/fitnesse-series-in-testing-thoughts-part-0/</guid>
		<description><![CDATA[Do you FitNesse? I&#8217;ll (as soon as I get to do a lot of things I want to get done) post some impressions and examples on FitNesse, the cool tool for cool testers. What I plan to do: Install and set a FitNesse setup; Make a simple standard easy program &#8211; the System Under Test! Start [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image9" height="90" alt="FitNesseLogo" src="http://testing.gershon.info/wp-content/uploads/2007/04/fitnesselogo.gif" /><strong>Do you FitNesse?</strong></p>
<p>I&#8217;ll (<em>as soon as I get to do a lot of things I want to get done</em>) post some impressions and examples on FitNesse, the cool tool for cool testers.</p>
<p><strong>What I plan to do:</strong></p>
<ol>
<li>Install and set a FitNesse setup;</li>
<li>Make a simple standard easy program &#8211; the System Under Test!</li>
<li>Start testing and making the program better with FitNesse.</li>
<li>And <img src='http://testing.gershon.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  all this, with screenshot goodness!</li>
</ol>
<p><strong>When will that be?</strong></p>
<ul>
<li>Ouch. <img src='http://testing.gershon.info/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  It may take a long time. Let&#8217;s talk about this again on July&#8230;</li>
</ul>
<p> </p>
<p><strong>Meanwhile:</strong> &#8220;FitNesse is designed to support acceptance testing rather than unit testing in that it facilitates detailed readable description of system function&#8221;. More information can be read in <a href="http://www.fitnesse.org/" target="_blank">FitNesse&#8217;s website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://testing.gershon.info/200703/fitnesse-series-in-testing-thoughts-part-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
