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 walke...@gmail.com 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 -

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 3:37 PM, Tim Walker walke...@gmail.com 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

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 walke...@gmail.com 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

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 dchelim...@gmail.comwrote: On Wed, Dec 17, 2008 at 3:37 PM, Tim Walker walke...@gmail.com wrote: Thank you David. This helps a lot. Question, if there are matching steps...will cucumber find the first matching step during execution? I

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 josephw...@joesniff.co.uk wrote: David

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

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 walke...@gmail.com 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

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 aslak.helle...@gmail.comwrote: On Wed, Dec 17, 2008 at 11:50 PM, Tim Walker walke...@gmail.com wrote: Great information

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 stevemoli...@gmail.com 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