<?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: Cuke4Nuke: Cucumber for .NET Teams</title>
	<atom:link href="http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/</link>
	<description>On making software teams happier and more productive</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:41:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kevin</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-1539</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 21 Oct 2010 23:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-1539</guid>
		<description>Thanks Richard.

Yes... I didn&#039;t mean to share state between different Scenarios but within the same scenario but different Steps, with the possibility that those steps are defined in different classes.

Yes, I posted a question but none of the answers have convinced me 100%. I don&#039;t like quite like any of the 4 options SpecFlow provides.</description>
		<content:encoded><![CDATA[<p>Thanks Richard.</p>
<p>Yes&#8230; I didn&#8217;t mean to share state between different Scenarios but within the same scenario but different Steps, with the possibility that those steps are defined in different classes.</p>
<p>Yes, I posted a question but none of the answers have convinced me 100%. I don&#8217;t like quite like any of the 4 options SpecFlow provides.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Lawrence</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-1538</link>
		<dc:creator>Richard Lawrence</dc:creator>
		<pubDate>Thu, 21 Oct 2010 21:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-1538</guid>
		<description>@Kevin - 

I don&#039;t know SpecFlow well, so I can&#039;t answer how it would behave, but I can answer your question for Cuke4Nuke, assuming they work similarly. (I notice you&#039;ve asked the question on the SpecFlow group and received an answer, so this may be unnecesary.)

To share state between step definitions in different classes with Cuke4Nuke, you have both classes require an instance of the same class in their constructors. Cuke4Nuke will ensure they get the same instance.

Cucumber&#039;s runtime model treats each scenario as independent. Cuke4Nuke does the same. So, you can&#039;t share state between scenarios in your test code. You could preserve state in your app, but it&#039;s a good practice to treat scenarios as independent.</description>
		<content:encoded><![CDATA[<p>@Kevin &#8211; </p>
<p>I don&#8217;t know SpecFlow well, so I can&#8217;t answer how it would behave, but I can answer your question for Cuke4Nuke, assuming they work similarly. (I notice you&#8217;ve asked the question on the SpecFlow group and received an answer, so this may be unnecesary.)</p>
<p>To share state between step definitions in different classes with Cuke4Nuke, you have both classes require an instance of the same class in their constructors. Cuke4Nuke will ensure they get the same instance.</p>
<p>Cucumber&#8217;s runtime model treats each scenario as independent. Cuke4Nuke does the same. So, you can&#8217;t share state between scenarios in your test code. You could preserve state in your app, but it&#8217;s a good practice to treat scenarios as independent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-1537</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 21 Oct 2010 19:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-1537</guid>
		<description>Hello Richard,

I&#039;ve started to use SpecFlow, which, for what I&#039;ve seen of Cuke4Nuke, it is pretty similar... or at least along the same lines.

Right now I have an issue that has to do with the fact of how to pass state between different scenarios. When the scope of the scenario being tested is limited to the class in which you are standing, it shouldn&#039;t be a problem... you can store the state -whatever that is- in a private member.

But when you define your &quot;Given&quot; or your &quot;Then&quot; in a separate file in benefit of reusability, how do you manage to maintain state?

Thanks,
Kevin</description>
		<content:encoded><![CDATA[<p>Hello Richard,</p>
<p>I&#8217;ve started to use SpecFlow, which, for what I&#8217;ve seen of Cuke4Nuke, it is pretty similar&#8230; or at least along the same lines.</p>
<p>Right now I have an issue that has to do with the fact of how to pass state between different scenarios. When the scope of the scenario being tested is limited to the class in which you are standing, it shouldn&#8217;t be a problem&#8230; you can store the state -whatever that is- in a private member.</p>
<p>But when you define your &#8220;Given&#8221; or your &#8220;Then&#8221; in a separate file in benefit of reusability, how do you manage to maintain state?</p>
<p>Thanks,<br />
Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-35</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 14 Jun 2010 22:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-35</guid>
		<description>@Marcel - I haven&#039;t tried IronRuby since before it hit 1.0. I&#039;ve heard performance is still an issue, but I haven&#039;t confirmed. In any case, running Cucumber under IronRuby isn&#039;t enough to write step definitions in a language other than Ruby (for example, C#). One day, we may do a version of Cuke4Nuke that uses IronRuby the way Cuke4Duke uses JRuby, but for now, I&#039;m sticking with the current approach.</description>
		<content:encoded><![CDATA[<p>@Marcel &#8211; I haven&#8217;t tried IronRuby since before it hit 1.0. I&#8217;ve heard performance is still an issue, but I haven&#8217;t confirmed. In any case, running Cucumber under IronRuby isn&#8217;t enough to write step definitions in a language other than Ruby (for example, C#). One day, we may do a version of Cuke4Nuke that uses IronRuby the way Cuke4Duke uses JRuby, but for now, I&#8217;m sticking with the current approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcel</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-34</link>
		<dc:creator>Marcel</dc:creator>
		<pubDate>Thu, 10 Jun 2010 13:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-34</guid>
		<description>Richard,
Thank you for your great posts.

Do you know if the performance is still in issue, now that we&#039;re on IronRuby 1.0?

Regards,
M</description>
		<content:encoded><![CDATA[<p>Richard,<br />
Thank you for your great posts.</p>
<p>Do you know if the performance is still in issue, now that we&#8217;re on IronRuby 1.0?</p>
<p>Regards,<br />
M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-33</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Wed, 13 Jan 2010 02:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-33</guid>
		<description>@Michael - Not that I know of. We&#039;ve talked about doing an in-process version of Cuke4Nuke using IronRuby the way Cuke4Duke uses JRuby, but AFAIK start up time is still an issue.</description>
		<content:encoded><![CDATA[<p>@Michael &#8211; Not that I know of. We&#8217;ve talked about doing an in-process version of Cuke4Nuke using IronRuby the way Cuke4Duke uses JRuby, but AFAIK start up time is still an issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-32</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 12 Jan 2010 23:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-32</guid>
		<description>Hello Richard,

I have a question about using IronRuby instead of MRI Ruby. Has anyone or have you attempted to use IronRuby for the Cuke4Nuke?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hello Richard,</p>
<p>I have a question about using IronRuby instead of MRI Ruby. Has anyone or have you attempted to use IronRuby for the Cuke4Nuke?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-31</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 28 Dec 2009 16:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-31</guid>
		<description>@Neil - The biggest difference is that Cuke4Nuke actually uses Cucumber as much as possible rather than reimplementing Cucumber in .NET. Quite often features are added to Cucumber that require no changes to Cuke4Nuke. Cuke4Nuke users get these features right away, while SpecFlow users have to wait until the new features are explicitly added to SpecFlow.

Cuke4Nuke doesn&#039;t yet have support for table diffing, so SpecFlow has an advantage there, I believe. SpecFlow also seems to have Visual Studio integration.

Otherwise, in terms of day-to-day use, there&#039;s probably little difference.</description>
		<content:encoded><![CDATA[<p>@Neil &#8211; The biggest difference is that Cuke4Nuke actually uses Cucumber as much as possible rather than reimplementing Cucumber in .NET. Quite often features are added to Cucumber that require no changes to Cuke4Nuke. Cuke4Nuke users get these features right away, while SpecFlow users have to wait until the new features are explicitly added to SpecFlow.</p>
<p>Cuke4Nuke doesn&#8217;t yet have support for table diffing, so SpecFlow has an advantage there, I believe. SpecFlow also seems to have Visual Studio integration.</p>
<p>Otherwise, in terms of day-to-day use, there&#8217;s probably little difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Mosafi</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-30</link>
		<dc:creator>Neil Mosafi</dc:creator>
		<pubDate>Mon, 28 Dec 2009 01:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-30</guid>
		<description>How is this different to SpecFlow?</description>
		<content:encoded><![CDATA[<p>How is this different to SpecFlow?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Cuke4Nuke: Cucumber for .NET Teams &#124; Richard Lawrence -- Topsy.com</title>
		<link>http://www.richardlawrence.info/2009/09/19/cuke4nuke-cucumber-for-net-teams/comment-page-1/#comment-29</link>
		<dc:creator>Tweets that mention Cuke4Nuke: Cucumber for .NET Teams &#124; Richard Lawrence -- Topsy.com</dc:creator>
		<pubDate>Thu, 24 Sep 2009 20:50:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardlawrence.info/?p=174#comment-29</guid>
		<description>[...] This post was mentioned on Twitter by Richard Paul and jbandi. jbandi said: RT @aslak_hellesoy:Great #cuke4nuke writeup by @rslawrence http://bit.ly/Wt7rU [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Richard Paul and jbandi. jbandi said: RT @aslak_hellesoy:Great #cuke4nuke writeup by @rslawrence <a href="http://bit.ly/Wt7rU" rel="nofollow">http://bit.ly/Wt7rU</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

