<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Test Driven Deployment &#8211; mcollective, puppet, cucumber</title>
	<atom:link href="http://www.devco.net/archives/2009/11/06/test_driven_deployment_-_mcollective_puppet_cucumber.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.devco.net/archives/2009/11/06/test_driven_deployment_-_mcollective_puppet_cucumber.php</link>
	<description>by r.i.pienaar</description>
	<lastBuildDate>Fri, 12 Mar 2010 11:59:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: rip</title>
		<link>http://www.devco.net/archives/2009/11/06/test_driven_deployment_-_mcollective_puppet_cucumber.php/comment-page-1#comment-1297</link>
		<dc:creator>rip</dc:creator>
		<pubDate>Fri, 06 Nov 2009 22:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.devco.net/?p=1129#comment-1297</guid>
		<description>I&#039;ve learned a few new tricks with Cucumber and have reworked the code a bit, I now discover once and use the discovered count through out. 

Also check out the &#039;Background&#039; feature if you want to avoid duplicating data, this wold have helped in our devopsdays session.

With pre-discovery this finishes in:

1 scenario (1 passed)
9 steps (9 passed)
0m8.771s
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve learned a few new tricks with Cucumber and have reworked the code a bit, I now discover once and use the discovered count through out. </p>
<p>Also check out the &#8216;Background&#8217; feature if you want to avoid duplicating data, this wold have helped in our devopsdays session.</p>
<p>With pre-discovery this finishes in:</p>
<p>1 scenario (1 passed)<br />
9 steps (9 passed)<br />
0m8.771s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rip</title>
		<link>http://www.devco.net/archives/2009/11/06/test_driven_deployment_-_mcollective_puppet_cucumber.php/comment-page-1#comment-1291</link>
		<dc:creator>rip</dc:creator>
		<pubDate>Fri, 06 Nov 2009 20:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.devco.net/?p=1129#comment-1291</guid>
		<description>The idea here is top down, with bail out if any step fails, that works well for deploys.  Bonus that I can just rerun it top down too cos even my iptables stuff can just be rerun many times with no ill effect.

Cucumber though might not really be the best fit, I don&#039;t like the data redundancy between Scenarios need to spend more time with its docs but another testing framework might be needed.  Also of course cucumber scenarios are stand-alone, I need to either build out a huge nasty scenario or find a way to have the previous one bail out the next.  Lots of time wit the docs needed.

The real win for me is that I have improved all the various mcollective bits to return true/false or to be able to request their status.  This is critical for building actual deploy systems with it.  When cucumber says blocking the ip worked I now know it worked without a doubt on every webserver mcollective found.

I think using test frameworks for this is probably a sane idea, I just need the right one :)

The above scenarios:

3 scenarios (3 passed)
8 steps (8 passed)
0m14.519s

I can speed that up a lot by removing some redundant discoveries.  But for that I need a global counter of how many hosts are found in the initial discovery, hard with cucumber.</description>
		<content:encoded><![CDATA[<p>The idea here is top down, with bail out if any step fails, that works well for deploys.  Bonus that I can just rerun it top down too cos even my iptables stuff can just be rerun many times with no ill effect.</p>
<p>Cucumber though might not really be the best fit, I don&#8217;t like the data redundancy between Scenarios need to spend more time with its docs but another testing framework might be needed.  Also of course cucumber scenarios are stand-alone, I need to either build out a huge nasty scenario or find a way to have the previous one bail out the next.  Lots of time wit the docs needed.</p>
<p>The real win for me is that I have improved all the various mcollective bits to return true/false or to be able to request their status.  This is critical for building actual deploy systems with it.  When cucumber says blocking the ip worked I now know it worked without a doubt on every webserver mcollective found.</p>
<p>I think using test frameworks for this is probably a sane idea, I just need the right one <img src='http://www.devco.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The above scenarios:</p>
<p>3 scenarios (3 passed)<br />
8 steps (8 passed)<br />
0m14.519s</p>
<p>I can speed that up a lot by removing some redundant discoveries.  But for that I need a global counter of how many hosts are found in the initial discovery, hard with cucumber.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lindsay Holmwood</title>
		<link>http://www.devco.net/archives/2009/11/06/test_driven_deployment_-_mcollective_puppet_cucumber.php/comment-page-1#comment-1290</link>
		<dc:creator>Lindsay Holmwood</dc:creator>
		<pubDate>Fri, 06 Nov 2009 20:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.devco.net/?p=1129#comment-1290</guid>
		<description>This is really cool. So when you run the feature, do you expect each scenario to execute one after another, or would you call a specific scenario from the command line? 

Excellent work! I&#039;m really digging the mcollective stuff by the way.</description>
		<content:encoded><![CDATA[<p>This is really cool. So when you run the feature, do you expect each scenario to execute one after another, or would you call a specific scenario from the command line? </p>
<p>Excellent work! I&#8217;m really digging the mcollective stuff by the way.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
