<?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>andy goundry &#187; bdd</title>
	<atom:link href="http://www.andygoundry.com/category/bdd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andygoundry.com</link>
	<description>many things web</description>
	<lastBuildDate>Thu, 26 Nov 2009 14:51:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting up Merb, Cucumber and Webrat (and friends) on Snow Leopard</title>
		<link>http://www.andygoundry.com/2009/09/04/setting-up-merb-cucumber-and-webrat-on-snow-leopard-some-good-some-bad/</link>
		<comments>http://www.andygoundry.com/2009/09/04/setting-up-merb-cucumber-and-webrat-on-snow-leopard-some-good-some-bad/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 14:36:06 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Cucumber]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Merb]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Webrat]]></category>
		<category><![CDATA[bdd]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.andygoundry.com/?p=428</guid>
		<description><![CDATA[
My upgrade to Snow Leopard killed my Merb, Cucumber and Webrat setup so i had to start afresh. That was the bad. The good is that some manual hacks that were required in Leopard are no longer necessary, meaning I can rely on direct gem installations.
Here&#8217;s what i did:

Install Ruby and Gems
Follow instructions on http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/
Install [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>My upgrade to Snow Leopard killed my Merb, Cucumber and Webrat setup so i had to start afresh. That was the bad. The good is that some manual hacks that were required in Leopard are no longer necessary, meaning I can rely on direct gem installations.</p>
<p>Here&#8217;s what i did:</p>
<ol>
<li><strong>Install Ruby and Gems<br />
<span style="font-weight: normal; ">Follow instructions on <a href="http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/">http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/</a></span></strong></li>
<li><strong>Install merb, rspec, cucumber, merb_cucumber and mongrel and dependencies<br />
<span style="font-weight: normal; ">sudo gem install merb rspec cucumber roman-merb_cucumber mongrel term-ansicolor treetop diff-lcs nokogiri do_sqlite3</span></strong></li>
<li><strong>Install webrat<br />
<span style="font-weight: normal;">sudo gem install hoe hpricot webrat</span></strong></li>
<li><strong><span style="font-weight: normal;"><strong>Fix Firefox bug with Snow Leopard<br />
<span style="font-weight: normal;">For some reason the libsqlite3.dylib  library in FireFox 3.5.2 is out of date and breaks cucumber under Snow Leopard. Thankfully, it&#8217;s a simple fix:<br />
mv /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib.orig<br />
cp /usr/lib/libsqlite3.dylib /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib</span></strong></span></strong></li>
<li><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong>Install Selenium<br />
<span style="font-weight: normal;">sudo gem install Selenium<br />
sudo gem install selenium-client</span></strong></span></strong></span></strong></li>
<li><strong>Install the textmate cucumber bundle<br />
<span style="font-weight: normal;"><a href="http://github.com/bmabey/cucumber-tmbundle/tree/master">http://github.com/bmabey/cucumber-tmbundle/tree/master</a></span></strong></li>
</ol>
<p><strong>Deprecated Instructions on Snow Leopard that were required on Leopard</strong></p>
<p>The following ugly hacks were required on Leopard with it&#8217;s default Ruby installation. These are no longer required (at least on my machine) on Snow Leopard:</p>
<p><span style="text-decoration: underline;">Manual hack of Selenium</span></p>
<p>http://wiki.github.com/aslakhellesoy/cucumber/setting-up-selenium</p>
<p>As the instructions recommended replacing the Selemium RC jar file () in the installed gem with one from the Selenium website, i had to find out where the gem had installed. Thankfully, gem -h pointed me toward gem help commands and from there i ran gem environment &#8211; This told me where gems are installed locally and i found that Selemium RC had been installed into /Library/Ruby/Gems/1.8/gems/Selenium-1.1.14/ I replaced as advised and then ran selenium from within the app root and all worked fine, using the replacement. I then downloaded and ran the test selenium code from http://github.com/aslakhellesoy/cucumber/tree/master/examples/selenium running selenium in a different console and then running cucumber examples/selenium/features/ . It worked a treat and booted up selenium as required. Great!</p>
<p><span style="text-decoration: underline;">Manual hack installation of webrat</span></p>
<p>Download http://github.com/gwynm/webrat/tree/master tar file. Git clone doesn&#8217;t work</p>
<p>sudo gem install hoe hpricot<br />
cd downloaded and untarred file<br />
rake gem<br />
sudo gem install pkg/webrat-0.2.1.gem</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.andygoundry.com/2009/09/04/setting-up-merb-cucumber-and-webrat-on-snow-leopard-some-good-some-bad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Presenting BDD Story-driven delivery to project and account managers</title>
		<link>http://www.andygoundry.com/2009/04/15/presenting-bdd-story-driven-delivery-to-project-and-account-managers/</link>
		<comments>http://www.andygoundry.com/2009/04/15/presenting-bdd-story-driven-delivery-to-project-and-account-managers/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 18:16:45 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[agile]]></category>
		<category><![CDATA[bdd]]></category>
		<category><![CDATA[dsl]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[linkedin]]></category>

		<guid isPermaLink="false">http://www.andygoundry.com/?p=351</guid>
		<description><![CDATA[Today, i had the true pleasure of presenting my view of how BDD stories offer real business value to project delivery, quality and to the lives of everyone on a software delivery project. 
Part 1: Collectively clarify what happens on projects now (on projects that do not use stories)
It was a highly interactive session and [...]]]></description>
			<content:encoded><![CDATA[<p>Today, i had the true pleasure of presenting my view of how BDD stories offer real business value to project delivery, quality and to the lives of everyone on a software delivery project. </p>
<p><strong>Part 1: Collectively clarify what happens on projects now (on projects that do not use stories)</strong></p>
<p>It was a highly interactive session and i first asked attendees to collectively draw on a whiteboard the project process as they saw it, with all of the project&#8217;s actors, products and interactions.</p>
<p>What was drawn resembled a kind of mashup of a <a href="http://www.agilemodeling.com/artifacts/activityDiagram.htm">UML activity diagram with swim lanes</a> &#038; a gantt chart. It showed what the individual actors in the process did and when, and who fed into who in the process.</p>
<p><strong>Part 2: Clarify what documents are written and the associated risks and costs</strong></p>
<p>When the whiteboard was complete, I asked the attendees to consider a number of things:</p>
<ol>
<li>At what points during the process are documents produced and by who?</li>
<li>Of those documents produced, which are directly focused on the business and user requirements?</li>
<li>Of the many producers of those documents, which of these producers had their focus on the business and user requirements?</li>
<li>Of the many documents produced, which were open to interpretation and translation?</li>
<li>What are the perceived risks of having so many documents and periods of documentation translation?</li>
</ol>
<p>When this work was complete, a few points became clear to the group:</p>
<ol>
<li>The project team, as defined on the whiteboard, was greatly separated into areas of expertise and each was concerned about their area of expertise</li>
<li>Interactions between actors were mostly through written documents</li>
<li>Few actors following this project process retained a direct focus on the business and end user requirements</li>
<li>A lot of documentation was being written and much of it was being duplicated, at times to protect actors within the process</li>
<li>Vast amounts of document interpretation and translation was going on to produce each document</li>
</ol>
<p><strong>Part 3: Consider stories</strong></p>
<p>After this part of the session was complete, i gave some examples of the wonderfully simple <a href="http://dannorth.net/introducing-bdd">story DSL</a> and then suggested that many of these documents could be replaced by stories and scenarios:</p>
<ol>
<li>I explained that stories can be used to clarify both high-level requirements and detailed solution definitions. I described how stories can be expanded through the use of scenarios.</li>
<li>I described how everyone on the project, including the client, can understand the wonderfully simple DSL and contribute to the bank of stories.</li>
<li>I then came in with the ace <img src='http://www.andygoundry.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Stories can be used to drive automated browser tests! Man, <strong>they fell off their seats at the point!</strong></li>
</ol>
<p>It was an awesome session. A lot was discussed and understood.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andygoundry.com/2009/04/15/presenting-bdd-story-driven-delivery-to-project-and-account-managers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
