Plain text stories

Thanks to discussions on this list, suggestions from many of you and a
patch from Pat M., we now have Plain Text User Stories in Story
Runner.

Read more:

http://blog.davidchelimsky.net/articles/2007/10/21/story-runner-in-plain-english

Cheers,
David

AWESOME. :slight_smile:

On 10/21/07, David C. [email protected] wrote:


rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Awesome news, I’m so excited!!! Thanks for all the hard work David.

Pat

On 10/22/07, David C. [email protected] wrote:

Cheers,
David

This looks sweet :slight_smile:

Thanx for everything you do on rspec David. It’s a fantastic tool, and
it
just keeps getting better.

“Keep in mind that this is brand new and very experimental. I do not
recommend that you start converting all your projects to using this.”

hehehe…yeah, okay :slight_smile:

David C. wrote:


rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Wow, you have been busy! Thanks for all the hard work. I can’t wait to
start playing with this…

-Ben

On Oct 22, 2007, at 12:33 am, David C. wrote:

David
Wow - that just blew my mind!


blog @ http://aviewfromafar.net/
linked-in @ http://www.linkedin.com/in/ashleymoran
currently @ home

Haha - brilliant! I was just putting something together myself based on
the
original thread but it looks like Pat has a) beaten me to it and b) made
it
look really elegant.

Nice work. I love it when a community discussion turns into something as
cool as this. And so quickly too :slight_smile:

Cheers,
Dan

On 10/22/07, Dan N. [email protected] wrote:

Haha - brilliant! I was just putting something together myself based on the
original thread but it looks like Pat has a) beaten me to it and b) made it
look really elegant.

Just so you know, David did all the work. There was one little piece
missing, but he made it so easy that a monkey could do it. I just
happened to be that monkey :slight_smile:

Nice work. I love it when a community discussion turns into something as
cool as this. And so quickly too :slight_smile:

Agreed. Gotta love open source.

Pat

On 10/22/07, David C. [email protected] wrote:

Thanks to discussions on this list, suggestions from many of you and a
patch from Pat M., we now have Plain Text User Stories in Story
Runner.

Read more:

http://blog.davidchelimsky.net/articles/2007/10/21/story-runner-in-plain-english

WOW!!

This is awesome!

Many thanks

  • Andy

David C.-2 wrote:

David


rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users


View this message in context:
http://www.nabble.com/plain-text-stories-tf4667970.html#a13357981
Sent from the rspec-users mailing list archive at Nabble.com.

http://www.georgeglazer.com/prints/illus/wein-monkeydress.JPG

Of course when I said “Pat”, I in fact meant “David and his monkey” :slight_smile:

Nice work David! This is a wonderful step in the right direction!
Zach D.
http://www.continuousthinking.com

I’m having a lot of trouble understanding why stories are nice for me
as a programmer? It seems targeted towards people who don’t want to
write code. Generally speaking, I don’t see the need for that on the
projects I’m working on.

Is it possible for this to be a separate library from RSpec so that
RSpec core doesn’t become bloated?


John L.
http://wiseheartdesign.com

On 10/24/07, John W. Long [email protected] wrote:

I’m having a lot of trouble understanding why stories are nice for me
as a programmer? It seems targeted towards people who don’t want to
write code. Generally speaking, I don’t see the need for that on the
projects I’m working on.

I see stories as integral / integration tool between your examples
(controller and models) and the final user.

Also, the whole job of the story is… tell a story. I find this a
better interface than:

“Contact Page should … should not…” and so on…

Is it possible for this to be a separate library from RSpec so that
RSpec core doesn’t become bloated?

AFAIK, spec and stories run in different paths. you can just ignore
the stories part and keep using the spec one.


Luis L.
Multimedia systems

Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

On 10/24/07, John W. Long [email protected] wrote:

I’m having a lot of trouble understanding why stories are nice for me
as a programmer? It seems targeted towards people who don’t want to
write code. Generally speaking, I don’t see the need for that on the
projects I’m working on.

  1. If you have customers then stories are a great communication tool
  2. They provide end-to-end integration tests
  3. They help you think carefully about the feature set and value of
    your application.
  4. Stories enable better refactoring. Using mocks makes your object
    specs more brittle, so changes to your code often requires changes to
    the specs. Because stories work at a very high level, specifying
    observable behavior of the system, you can change the underlying code
    without breaking behavior.

Is it possible for this to be a separate library from RSpec so that
RSpec core doesn’t become bloated?

User stories are an integral part of BDD and as such are a part of
RSpec core. Splitting them up would be a gigantic step backwards
philosophically.

Pat

On Oct 24, 2007, at 6:39 pm, Pat M. wrote:

  1. Stories enable better refactoring. Using mocks makes your object
    specs more brittle, so changes to your code often requires changes to
    the specs. Because stories work at a very high level, specifying
    observable behavior of the system, you can change the underlying code
    without breaking behavior.

In a similar way, because they are so high-level, you drive much more
development per line of story than you do per line of spec. In fact,
you usually generate far more lines of specs than code, where a story
can exercise far more lines of code than it takes to write. For
people like me, who need to see progress to make progress, this is a
big big win.

Ashley


blog @ http://aviewfromafar.net/
linked-in @ http://www.linkedin.com/in/ashleymoran
currently @ home