Colin A. Bartlett on 13 Sep 2007 20:13:31 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] rspec slides


Cliff Moon wrote:
As for BDD, my understanding is that the point of it is to make your
tests into executable documentation.
This is the most exciting thing to me about RSpec and BDD and what drew me to it in the first place.

My role involves more customer relationship handling then coding and the idea that we could build, with the client, specifications for the application, and then use that as executable document for building the app was, and is, thrilling.

And the fact that these specs could easily grow overtime and continue to be an updated documentation makes it even better. No more running back to the docs to ensure you added the change the client just asked you to shoe-horn in.

I love the specdoc output formatter for RSpec. I've used that to generate a document for the client to say "This is what your application is doing. If it's not on here, don't assume it's doing it." In my experience, having a client assume stuff can be a royal pain in the ass.

"You're supposed to know what you're doing. I just assumed you'd require people to enter their dog's middle name to gain access."

--
Colin A. Bartlett
Kinetic Web Solutions
http://blog.kineticweb.com

_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk