Re: [rspec-users] Testing a wizard with Cucumber

2008-11-04 Thread Joseph Wilk
Its still there in source. You can read why people felt calling steps from steps was a better approach here: http://rspec.lighthouseapp.com/projects/16211/tickets/3-create-givenscenario-dependency-accross-feature-files -- Joseph Wilk http://www.joesniff.co.uk On Tue, Nov 4, 2008 at 7:28 PM, Ben

Re: [rspec-users] Testing a wizard with Cucumber

2008-11-04 Thread Ashley Moran
On Nov 04, 2008, at 7:28 pm, Ben Mabey wrote: Oh really? Hmm.. I assumed it was still there. :) Search for Aslak's comments, I'm pretty sure it will be pulled in Cucumber 0.3. Calling steps is much neater from inside other steps is much neater, and doesn't produce the visible step-expl

Re: [rspec-users] Testing a wizard with Cucumber

2008-11-04 Thread Ben Mabey
Ashley Moran wrote: On Nov 04, 2008, at 6:18 pm, Matt Wynne wrote: You could also use GivenScenario. Dude, that is s "Story Runner". And s deprecated too, right? Oh really? Hmm.. I assumed it was still there. :) -Ben ___ rspec-users

Re: [rspec-users] Testing a wizard with Cucumber

2008-11-04 Thread Ashley Moran
On Nov 04, 2008, at 6:18 pm, Matt Wynne wrote: You could also use GivenScenario. Dude, that is s "Story Runner". And s deprecated too, right? -- http://www.patchspace.co.uk/ http://aviewfromafar.net/ ___ rspec-users mailing list rspec-u

Re: [rspec-users] Testing a wizard with Cucumber

2008-11-04 Thread Matt Wynne
On 4 Nov 2008, at 17:42, Ben Mabey wrote: Andrew Premdas wrote: Thanks Matt, just what I was looking for :) Andrew You could also use GivenScenario. Dude, that is s "Story Runner". ;) ___ rspec-users mailing list rspec-users@rubyforge.org h

Re: [rspec-users] Testing a wizard with Cucumber

2008-11-04 Thread Ben Mabey
Andrew Premdas wrote: Thanks Matt, just what I was looking for :) Andrew You could also use GivenScenario. It works like this: Scenario: State A Given I'm ... And I'm ... When I ... Then I should see And I at state A Scenario: Test A to B GivenScenario A When I ... Or you could do a c

Re: [rspec-users] Testing a wizard with Cucumber

2008-11-04 Thread Andrew Premdas
Thanks Matt, just what I was looking for :) Andrew 2008/11/4 Matt Wynne <[EMAIL PROTECTED]> > On 4 Nov 2008, at 15:41, Andrew Premdas wrote: > > Assuming you have a multi-step wizard like thing, with lots of different >> states and paths through it. What approach would your use to write a featur

Re: [rspec-users] Testing a wizard with Cucumber

2008-11-04 Thread Matt Wynne
On 4 Nov 2008, at 15:41, Andrew Premdas wrote: Assuming you have a multi-step wizard like thing, with lots of different states and paths through it. What approach would your use to write a feature for it? What I want to do is do the separate states and then reuse these things in more comple

[rspec-users] Testing a wizard with Cucumber

2008-11-04 Thread Andrew Premdas
Assuming you have a multi-step wizard like thing, with lots of different states and paths through it. What approach would your use to write a feature for it? What I want to do is do the separate states and then reuse these things in more complex scenarios that cover paths. For example Scenario: Sta