Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread Zach Dennis
On Wed, Dec 17, 2008 at 8:30 PM, Steve Molitor wrote: > What about two steps with the same regex but are of different types -- i.e. > a Given and a Then with the same regexp? They do the exact same thing. Given|When|Then is just a nicety for you as the developer. Cucumber could care less. This is

Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread Steve Molitor
What about two steps with the same regex but are of different types -- i.e. a Given and a Then with the same regexp? Steve On Wed, Dec 17, 2008 at 6:07 PM, aslak hellesoy wrote: > > > On Wed, Dec 17, 2008 at 11:50 PM, Tim Walker wrote: > >> Great information guys, making some progress on this en

Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread aslak hellesoy
On Wed, Dec 17, 2008 at 11:50 PM, Tim Walker wrote: > Great information guys, making some progress on this end. It is much > appreciated. > > Discovered that step definitions can not be duplicated even across > step files. Is this correct? > Regexen can not be the same (even if the blocks are di

Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread Ben Mabey
Tim Walker wrote: Great information guys, making some progress on this end. It is much appreciated. Discovered that step definitions can not be duplicated even across step files. Is this correct? Correct. They can't be duplicated in any given process, no mater what file(s) the definitions c

Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread Tim Walker
Great information guys, making some progress on this end. It is much appreciated. Discovered that step definitions can not be duplicated even across step files. Is this correct? Thanks again. Sincerely, Tim On Wed, Dec 17, 2008 at 2:39 PM, Joseph Wilk wrote: > David Chelimsky wrote: >> >> On

Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread aslak hellesoy
On Wed, Dec 17, 2008 at 10:53 PM, David Chelimsky wrote: > On Wed, Dec 17, 2008 at 3:37 PM, Tim Walker wrote: > > Thank you David. This helps a lot. Question, if there are matching > > steps...will cucumber find the first matching step during execution? I > > noticed a test executing at higher li

Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread Joseph Wilk
David Chelimsky wrote: On Wed, Dec 17, 2008 at 2:34 PM, Tim Walker wrote: Hi Guys, Things are working great with Cucumber and am getting better at expressing requirements as behaviors. Kudos! I seek a couple of points of clarification, or confirmation, if someone has a minute or two... FW

Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread David Chelimsky
On Wed, Dec 17, 2008 at 3:37 PM, Tim Walker wrote: > Thank you David. This helps a lot. Question, if there are matching > steps...will cucumber find the first matching step during execution? I > noticed a test executing at higher line numbers and then picking up a > step with a lower line number.

Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread Tim Walker
Thank you David. This helps a lot. Question, if there are matching steps...will cucumber find the first matching step during execution? I noticed a test executing at higher line numbers and then picking up a step with a lower line number. Thanks again, Tim On Wed, Dec 17, 2008 at 2:22 PM, David

Re: [rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread David Chelimsky
On Wed, Dec 17, 2008 at 2:34 PM, Tim Walker wrote: > Hi Guys, > > Things are working great with Cucumber and am getting better at > expressing requirements as behaviors. Kudos! > > I seek a couple of points of clarification, or confirmation, if > someone has a minute or two... > > FWIW - I've read

[rspec-users] [Cucumber] a few clarifications please...

2008-12-17 Thread Tim Walker
Hi Guys, Things are working great with Cucumber and am getting better at expressing requirements as behaviors. Kudos! I seek a couple of points of clarification, or confirmation, if someone has a minute or two... FWIW - I've read the wiki and the given-when-then page and just seek confirmation: