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

David Chelimsky dchelimsky at gmail.com
Sat Oct 13 22:09:24 EDT 2007


On 10/13/07, Dan North <tastapod at gmail.com> 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 length in Berlin. C'est la vie.

Since we have both approaches on the table, I'm curious to hear
thoughts from users - which would you prefer and why?

And "the user", "Joe", "works for", "Acme", "as a", "janitor"

And "the user $user works for $company as a $jobtitle", "Joe", "Acme", "janitor"


Thanks,
David

>
>
>
>
> On 10/13/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> > On 10/13/07, David Chelimsky <dchelimsky at gmail.com > wrote:
> > > On 10/12/07, Tasty <andywatts at yahoo.com> 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 readability of the following output is less than ideal..
> > > >   "And the user belongs to company,Joe Public, No Videos"
> > > >
> > > >
> > > > It would be great if something like the following were possible.
> > > >   And "the user $1 belongs to $2", "Joe", "Acme" do |user_name,
> > > > company_name|
> > >
> > > You'd have no way of knowing this, because it's something that Dan,
> > > Aslak and I have discussed off line, but this is actually already in
> > > the plan.
> > >
> > > Also in the plan is a move to lighthouse, which should improve
> > > everyone's ability to submit requests, and ours to manage them.
> > >
> > > Cheers,
> > > David
> >
> > ps:
> >
> > And "the user $user belongs to $company", "Joe", "Acme"
> >
> >
> >
> > >
> > > >
> > > > - Andy
> > > >
> > > > I would of posted a feature request, but rubyforge still doesn't play
> nice
> > > > with big brother's transparent web proxy here in Singapore.
> > > > --
> > > > View this message in context:
> http://www.nabble.com/Story-Runner%3A-Readability-of-output-with-multiple-params-tf4617148.html#a13186335
> > > > Sent from the rspec-users mailing list archive at Nabble.com.
> > > >
> > > > _______________________________________________
> > > > rspec-users mailing list
> > > > rspec-users at rubyforge.org
> > > > http://rubyforge.org/mailman/listinfo/rspec-users
> > > >
> > >
> > _______________________________________________
> > rspec-users mailing list
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list