<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Moves On Rails: Rspec plain text stories</title>
    <link>http://www.movesonrails.com/articles/2007/11/06/rspec-plain-text-stories</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>New ways to look at software</description>
    <item>
      <title>Rspec plain text stories</title>
      <description>&lt;p&gt;Simply said. They are great. We've been using them since they came out and have been following the trunk ever since.&lt;/p&gt;

&lt;p&gt;They are so easy and elegant, they just needed a little TextMate love. So here you go: A language grammer and an adapted Vibrant Ink theme. (&lt;a href="http://www.movesonrails.com/files/Rspec_story_syntax.zip"&gt;Download here&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;&lt;center&gt;&lt;img src="http://www.movesonrails.com/files/Picture_2.png" alt=""/&gt;&lt;/center&gt;&lt;/p&gt;

&lt;p&gt;P.S If anyone can tell me how to include stories in autotest runs I would be very happy!&lt;/p&gt;</description>
      <pubDate>Tue, 06 Nov 2007 15:50:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:d728e7e0-4cac-456f-b1ca-9058a318972b</guid>
      <author>andre.foeken@movesonrails.com (Andre Foeken)</author>
      <link>http://www.movesonrails.com/articles/2007/11/06/rspec-plain-text-stories</link>
      <category>Rails</category>
      <category>Ruby</category>
      <category>Rspec</category>
      <category>textmate</category>
      <category>Rspec</category>
      <category>Stories</category>
      <category>Plaintext</category>
    </item>
    <item>
      <title>"Rspec plain text stories" by George Anderson</title>
      <description>If you change:
&lt;code&gt;&lt;pre&gt;
match = '(As an|I want to|So that)(.*)';
&lt;/pre&gt;&lt;/code&gt;
to:
&lt;code&gt;&lt;pre&gt;
match = '(As an?|I want to|So that)(.*)';
&lt;/pre&gt;&lt;/code&gt;
it will match
&lt;code&gt;&lt;pre&gt;
As an administrator
&lt;/pre&gt;&lt;/code&gt;
and 
&lt;code&gt;&lt;pre&gt;
As a manager
&lt;/pre&gt;&lt;/code&gt;
Thanks for sharing your work.</description>
      <pubDate>Tue, 04 Mar 2008 18:36:51 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:52a68e17-5c64-478b-ad3e-a98bd8609358</guid>
      <link>http://www.movesonrails.com/articles/2007/11/06/rspec-plain-text-stories#comment-232</link>
    </item>
    <item>
      <title>"Rspec plain text stories" by Andre Foeken</title>
      <description>Yeah sure, no problem! Though the language grammar could get some extra attention (it was my first one), I'd be happy to hand it to you guys.
&lt;br /&gt;
&lt;br /&gt;
I added Pending as a keyword in the syntax. We are using the stories and it helps to think of scenario titles before 'implementing' them. Unfortunately I haven't gotten around to actually looking at the Rspec code, so it's not patched. But I might be looking into that, should not be rocket science right?, given they should act the same as the other keywords.
&lt;br /&gt;
&lt;br /&gt;
With regard to autotest I find that we have two kinds of stories. One that simply integrates the MVC model (which I would like in autotest) and others that are more descriptive and make us feel better (just knowing that that string of actions is working as it is supposed to).</description>
      <pubDate>Tue, 06 Nov 2007 23:17:41 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:8c9eb926-6515-4f07-8f00-71e8243463ad</guid>
      <link>http://www.movesonrails.com/articles/2007/11/06/rspec-plain-text-stories#comment-113</link>
    </item>
    <item>
      <title>"Rspec plain text stories" by Aslak Hellesøy</title>
      <description>Really cool!

Would you be willing to donate this to the official RSpec.tmbundle under the RSpec license? You'd get due kudos. Drop me a mail if you are.</description>
      <pubDate>Tue, 06 Nov 2007 22:55:34 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:bf2e0b22-d0cf-4db0-81a7-1d63898e4851</guid>
      <link>http://www.movesonrails.com/articles/2007/11/06/rspec-plain-text-stories#comment-112</link>
    </item>
    <item>
      <title>"Rspec plain text stories" by David Chelimsky</title>
      <description>This is cool!

What are you doing with Pending? Did you patch that to be meaningful?

Personally, I wouldn't want stories to run with autotest in my own practice - they're not really intended to be part of the very tight feedback loop of the TDD cycle.

</description>
      <pubDate>Tue, 06 Nov 2007 18:51:06 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:f200010b-71c1-4f17-9a12-b560df54f439</guid>
      <link>http://www.movesonrails.com/articles/2007/11/06/rspec-plain-text-stories#comment-111</link>
    </item>
  </channel>
</rss>
