On Thu, Nov 20, 2008 at 8:05 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 20, 2008 at 10:40 AM, Andrew Premdas <[EMAIL PROTECTED]> wrote:
>> Also occasionally you may want to use a when as a given. Cucumber
>> doesn't actually use the given|when|then|and to differentiate steps,
>> j
Yeh that just shows how bad my grammer is! Saying that 'there is' /
'there are' is past tense, really meant 'something that has already
happened' ... or 'states' as you so concisely put it :-)
Thanks
Andrew
2008/11/23 Peter Jaros <[EMAIL PROTECTED]>:
> On Fri, Nov 21, 2008 at 4:35 AM, Andrew Pre
On Fri, Nov 21, 2008 at 4:35 AM, Andrew Premdas <[EMAIL PROTECTED]> wrote:
> Interesting ... so this establishes a convention to use in features
> that all Givens are written in the past tense and all whens in the
> present tense.
Actually, I put both in the present tense, but Givens describe stat
"David Chelimsky" <[EMAIL PROTECTED]> writes:
> On Thu, Nov 20, 2008 at 10:40 AM, Andrew Premdas <[EMAIL PROTECTED]> wrote:
>> Also occasionally you may want to use a when as a given. Cucumber
>> doesn't actually use the given|when|then|and to differentiate steps,
>> just the regex that comes afte
Interesting ... so this establishes a convention to use in features
that all Givens are written in the past tense and all whens in the
present tense.
I think its quite important as your feature count grows that you have
conventions to stop getting to much step duplication
e.g.
when I create a fo
DOH
I thinks convention = I think this convention
2008/11/21 Andrew Premdas <[EMAIL PROTECTED]>:
> Interesting ... so this establishes a convention to use in features
> that all Givens are written in the past tense and all whens in the
> present tense.
>
> I think its quite important as your featu
On 20 Nov 2008, at 22:05, David Chelimsky wrote:
On Thu, Nov 20, 2008 at 10:40 AM, Andrew Premdas
<[EMAIL PROTECTED]> wrote:
I actually prefer to keep these separate:
Given I am logged in as Fred
When I log in as Fred
+1, though these days I would probably have the When step matcher call
On Thu, Nov 20, 2008 at 10:40 AM, Andrew Premdas <[EMAIL PROTECTED]> wrote:
> Also occasionally you may want to use a when as a given. Cucumber
> doesn't actually use the given|when|then|and to differentiate steps,
> just the regex that comes after them. Sometimes I feel that it makes
> sense as in
Also occasionally you may want to use a when as a given. Cucumber
doesn't actually use the given|when|then|and to differentiate steps,
just the regex that comes after them. Sometimes I feel that it makes
sense as in the following examples
When I log in as Fred
Given I log in as F
Have a read of this:
http://github.com/aslakhellesoy/cucumber/wikis/step-organisation
Basically rather than saving your steps in files named around the
feature, it's better to group them around the object(s) they work on.
On 20 Nov 2008, at 15:28, aidy lewis wrote:
Hi,
Do you think this is
Hi,
Do you think this is a satisfactory way to group step files related to
one feature
e.g.
publish_content_givens
publish_content_whens
publish_content_thens
?
Thanks
Aidy
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/
11 matches
Mail list logo