Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-15 Thread Dan North
Of the options on the table, I prefer "using $placeholder values" because then it tells me the role the value plays in the sentence. Even Pat's version works by defining the $placeholders outside of the step. In a "library" somewhere (we still need to define what a story/step library is or looks l

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-14 Thread David Chelimsky
On 10/14/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > On 10/14/07, Zach Dennis <[EMAIL PROTECTED]> wrote: > > On 10/14/07, Pat Maddox <[EMAIL PROTECTED]> wrote: > > > On 10/14/07, Zach Dennis <[EMAIL PROTECTED]> wrote: > > > > Does it add any value to even add things like "Joe" and "Acme" into

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-14 Thread David Chelimsky
On 10/14/07, Zach Dennis <[EMAIL PROTECTED]> wrote: > On 10/14/07, Pat Maddox <[EMAIL PROTECTED]> wrote: > > On 10/14/07, Zach Dennis <[EMAIL PROTECTED]> wrote: > > > Does it add any value to even add things like "Joe" and "Acme" into a > > > story part? It seems like that is an implementation deta

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-14 Thread Zach Dennis
On 10/14/07, Pat Maddox <[EMAIL PROTECTED]> wrote: > On 10/14/07, Zach Dennis <[EMAIL PROTECTED]> wrote: > > Does it add any value to even add things like "Joe" and "Acme" into a > > story part? It seems like that is an implementation detail of your > > story. > > > > Who cares about "Joe" or "Acme

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-14 Thread Pat Maddox
On 10/14/07, Zach Dennis <[EMAIL PROTECTED]> wrote: > Does it add any value to even add things like "Joe" and "Acme" into a > story part? It seems like that is an implementation detail of your > story. > > Who cares about "Joe" or "Acme", don't you just care that you have a > user who works for a c

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-14 Thread Zach Dennis
Does it add any value to even add things like "Joe" and "Acme" into a story part? It seems like that is an implementation detail of your story. Who cares about "Joe" or "Acme", don't you just care that you have a user who works for a company. And if that company has a particular trait wouldn't it

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-13 Thread Andrew WC Brown
When I first used story runner I thought the same option would be needed. Then I thought about it then came to the conclusion that it would be more clear to write something such as: Given a user named, Joe And a company named, Acme And user works for, Acme And user is a, Janitor On 10/14/07, Andy

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-13 Thread Andy Watts
Zach Dennis-2 wrote: > > I like to keep them closer to customer readable/writable myself. > Customer readable/writable stories are important for me too. To that end, I would prefer inline, Option 1. 1. And "the user", "Joe", "works for", "Acme", "as a", "janitor" 2. And "the user $user works

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-13 Thread Zach Dennis
On 10/13/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > And "the user", "Joe", "works for", "Acme", "as a", "janitor" I vote no on this. > > And "the user $user works for $company as a $jobtitle", "Joe", "Acme", > "janitor" If these are the two choices then this one is better, but this does

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-13 Thread David Chelimsky
On 10/13/07, Dan North <[EMAIL PROTECTED]> wrote: > Or even: > > And "the user", "Joe", "works for", "Acme", "as a", "janitor" > > so the params are inline. Dan - I know we discussed that possibility, but don't recall where we left the conversation. I think we were supposed to discuss this more at

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-13 Thread Dan North
Or even: And "the user", "Joe", "works for", "Acme", "as a", "janitor" so the params are inline. On 10/13/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On 10/13/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On 10/12/07, Tasty <[EMAIL PROTECTED]> wrote: > > > > > > Fistly, many, many

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-13 Thread David Chelimsky
On 10/13/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > On 10/12/07, Tasty <[EMAIL PROTECTED]> wrote: > > > > Fistly, many, many thanks for RSpec and Story Runner. > > > > Minor request to improve readability of output > > > > Given a scenario item with multiple params.. > > Eg. And "the user be

Re: [rspec-users] Story Runner: Readability of output with multiple params

2007-10-13 Thread David Chelimsky
On 10/12/07, Tasty <[EMAIL PROTECTED]> wrote: > > Fistly, many, many thanks for RSpec and Story Runner. > > Minor request to improve readability of output > > Given a scenario item with multiple params.. > Eg. And "the user belongs to", "Joe", "Acme" do |user_name, company_name| > > The readabilit

[rspec-users] Story Runner: Readability of output with multiple params

2007-10-12 Thread Tasty
Fistly, many, many thanks for RSpec and Story Runner. Minor request to improve readability of output Given a scenario item with multiple params.. Eg. And "the user belongs to", "Joe", "Acme" do |user_name, company_name| The readability of the following output is less than ideal.. "And the us