<?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"
	>
<channel>
	<title>Comments on: Introducing rbehave</title>
	<atom:link href="http://dannorth.net/2007/06/introducing-rbehave/feed" rel="self" type="application/rss+xml" />
	<link>http://dannorth.net/2007/06/introducing-rbehave</link>
	<description>It's all behaviour</description>
	<pubDate>Sat, 05 Jul 2008 20:01:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Dan North</title>
		<link>http://dannorth.net/2007/06/introducing-rbehave#comment-9457</link>
		<dc:creator>Dan North</dc:creator>
		<pubDate>Fri, 22 Feb 2008 14:47:07 +0000</pubDate>
		<guid isPermaLink="false">http://dannorth.net/2007/06/introducing-rbehave#comment-9457</guid>
		<description>Hi Venu.

Thanks for your suggestions. I hope I can help.

Since I wrote this article, RBehave has become the "rspec story framework":http://rspec.info/. The rspec team has put a lot of effort into making the story syntax cleaner (you can now specify scenarios as plain text!) and separating out the ruby code. You can also manage different groups of steps separately, which will allow you to do exactly what you are describing with separating out the detail of the scenarios.

You should start using the "rspec story framework":http://rspec.info/ because I won't be making any more separate releases of rbehave.</description>
		<content:encoded><![CDATA[<p>Hi Venu.</p>
<p>Thanks for your suggestions. I hope I can help.</p>
<p>Since I wrote this article, RBehave has become the <a href="http://rspec.info/">rspec story framework</a>. The rspec team has put a lot of effort into making the story syntax cleaner (you can now specify scenarios as plain text!) and separating out the ruby code. You can also manage different groups of steps separately, which will allow you to do exactly what you are describing with separating out the detail of the scenarios.</p>
<p>You should start using the <a href="http://rspec.info/">rspec story framework</a> because I won&#8217;t be making any more separate releases of rbehave.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venu</title>
		<link>http://dannorth.net/2007/06/introducing-rbehave#comment-9456</link>
		<dc:creator>Venu</dc:creator>
		<pubDate>Fri, 22 Feb 2008 13:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://dannorth.net/2007/06/introducing-rbehave#comment-9456</guid>
		<description>In the example described above, for the Scenario "savings account is in credit"

at the line                 "Then my savings account balance should be $80"
I changed it to             "Then my savings account balance should be $85"

then both the scenarios fail and the result is as shown below

Running 2 scenarios:
FF

2 scenarios: 0 succeeded, 2 failed, 0 pending

FAILURES:
1) transfer to cash account (savings account is in credit) FAILED
Spec::Expectations::ExpectationNotMetError: expected: 85,
     got: 80 (using ==)
e.rb:39:in `my savings account balance should be'
e.rb:38
e.rb:24

2) transfer to cash account (savings account is overdrawn) FAILED
RBehave::UnknownStepException: my cash account balance should be
e.rb:51
e.rb:24



I expected the 2nd test to pass, and it is giving a Unknown Step Exception.   Is this a bug ??


I have one more suggestion.   Is there any way we can make the scenario where we put in the logic as a more generalized one with appropirate ruby code, and keep the other set of scenarios as written by a business analyst, as separate set.</description>
		<content:encoded><![CDATA[<p>In the example described above, for the Scenario &#8220;savings account is in credit&#8221;</p>
<p>at the line                 &#8220;Then my savings account balance should be $80&#8221;<br />
I changed it to             &#8220;Then my savings account balance should be $85&#8221;</p>
<p>then both the scenarios fail and the result is as shown below</p>
<p>Running 2 scenarios:<br />
FF</p>
<p>2 scenarios: 0 succeeded, 2 failed, 0 pending</p>
<p>FAILURES:<br />
1) transfer to cash account (savings account is in credit) FAILED<br />
Spec::Expectations::ExpectationNotMetError: expected: 85,<br />
     got: 80 (using ==)<br />
e.rb:39:in `my savings account balance should be&#8217;<br />
e.rb:38<br />
e.rb:24</p>
<p>2) transfer to cash account (savings account is overdrawn) FAILED<br />
RBehave::UnknownStepException: my cash account balance should be<br />
e.rb:51<br />
e.rb:24</p>
<p>I expected the 2nd test to pass, and it is giving a Unknown Step Exception.   Is this a bug ??</p>
<p>I have one more suggestion.   Is there any way we can make the scenario where we put in the logic as a more generalized one with appropirate ruby code, and keep the other set of scenarios as written by a business analyst, as separate set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Test Early &#187; Executable documentation the easy way</title>
		<link>http://dannorth.net/2007/06/introducing-rbehave#comment-6786</link>
		<dc:creator>Test Early &#187; Executable documentation the easy way</dc:creator>
		<pubDate>Sun, 11 Nov 2007 14:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://dannorth.net/2007/06/introducing-rbehave#comment-6786</guid>
		<description>[...] seen the light with RSpec and indeed, rbehave, I found myself wanting the same simple expressiveness in Java&#8211; accordingly, I began [...]</description>
		<content:encoded><![CDATA[<p>[...] seen the light with RSpec and indeed, rbehave, I found myself wanting the same simple expressiveness in Java&#8211; accordingly, I began [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links for 31 October 2007 (Ruby, Rails, Rails Plugins, RSpec, RBehave, CSS, JavaScript) &#171; exceptionz</title>
		<link>http://dannorth.net/2007/06/introducing-rbehave#comment-6506</link>
		<dc:creator>Links for 31 October 2007 (Ruby, Rails, Rails Plugins, RSpec, RBehave, CSS, JavaScript) &#171; exceptionz</dc:creator>
		<pubDate>Wed, 31 Oct 2007 02:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://dannorth.net/2007/06/introducing-rbehave#comment-6506</guid>
		<description>[...] Introducing RBehave [...]</description>
		<content:encoded><![CDATA[<p>[...] Introducing RBehave [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links for 31 October 2007 (Ruby, Rails, Rails Plugins, RSpec, RBehave, CSS, JavaScript) &#171; exceptionz</title>
		<link>http://dannorth.net/2007/06/introducing-rbehave#comment-6505</link>
		<dc:creator>Links for 31 October 2007 (Ruby, Rails, Rails Plugins, RSpec, RBehave, CSS, JavaScript) &#171; exceptionz</dc:creator>
		<pubDate>Wed, 31 Oct 2007 02:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://dannorth.net/2007/06/introducing-rbehave#comment-6505</guid>
		<description>[...] Introducing RBehave [...]</description>
		<content:encoded><![CDATA[<p>[...] Introducing RBehave [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
