Please help me to understand why runner is not picking steps.
http://pastie.org/273126
On Tue, Sep 16, 2008 at 12:30 AM, Nubee R. [email protected]
wrote:
Please help me to understand why runner is not picking steps.
http://pastie.org/273126
Need a little more information:
What command are you using to run the scenarios?
Where is filter defined and captured?
David C. wrote:
On Tue, Sep 16, 2008 at 12:30 AM, Nubee R. [email protected]
wrote:Please help me to understand why runner is not picking steps.
http://pastie.org/273126Need a little more information:
What command are you using to run the scenarios?
Where is filter defined and captured?
I followed the post at
http://www.tomtenthij.co.uk/2008/1/25/rspec-plain-text-story-runner-on-a-fresh-rails-app.
everything understood and good. I got a working story with “ruby
stories/login_story.rb”
I wanted a rake task that will run a ruby script to pickup all “.story”
files, pickup all “_steps.rb” and run them. this should work recursively
inside /spec/stories/[more subfolders]. steps can be placed anywhere,
not just /spec/stories/steps
somehow, this has worked as soon as I saw your message :o) talk of
special powers with David!
I will post my experiences when I get this finished.
David C. wrote:
On Tue, Sep 16, 2008 at 12:30 AM, Nubee R. [email protected]
wrote:Please help me to understand why runner is not picking steps.
http://pastie.org/273126Need a little more information:
What command are you using to run the scenarios?
Where is filter defined and captured?
Why cannot we have .story and .steps files and place them anywhere in a
folder hierarchy to suit business requirement?
(I mean something like)
- stories
++ get_a_pizza_ordered
+++ order_payment_recieve.story
+++ pizza.steps
I will give it an attempt and post my experiences. :o)
If needed, I know David is here to help.
On 16 Sep 2008, at 15:34, Nubee R. wrote:
Where is filter defined and captured?
I will give it an attempt and post my experiences. :o)
If needed, I know David is here to help.
You may want to check out cucumber.
http://github.com/aslakhellesoy/cucumber/tree/master
This seems to be where active development on this front is being done.
cheers,
Matt
http://blog.mattwynne.net
http://songkick.com
In case you wondered: The opinions expressed in this email are my own
and do not necessarily reflect the views of any former, current or
future employers of mine.