[rspec-users] Straw Poll: How are you using plain text stories (in rails)?

Matt Wynne lists at ruby-forum.com
Wed Aug 6 06:12:15 EDT 2008

Hi all,

I've been using rspec / rails for just over a week now, and I'm loving
the specification framework.  The way I can group examples together
feels really natural, and I'm finding the TDD flow terrific.

Thus far I've used the describe / it "should..." syntax to basically do
TDD of my controllers, views and models, with splendid isolation using
the mocking framework. I've yet to write any 'integrations tests', in
fact I'm not yet clear how much value they have.

What originally attracted me to rspec was hearing Dan North talk about
the plain text stories, and I had some fun in my previous life as a C#
programmer using them to drive watir tests of an ASP.NET app.

What I'm not sure about is how they're most appropriately used in rails.

Are people generally using them, as I was in the .NET world, to drive
selenium/watir acceptance tests, or do they have value as replacements
to the rails 'integration tests'?

How about webrat? or some other glue / tool that I haven't heard of yet?

Just a quick answer from anyone out there using these tools would be
great in order to get a feel for the current state of the art, and some
fresh fuel for my googling!

Sorry if this post is a bit rambling... thanks for bearing with me as I
scramble up the learning curve!

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list