[rspec-users] [Cucumber:4066] Cucumber vs, RSpec
Robert.Hanson at Calabrio.com
Tue Apr 20 14:43:49 EDT 2010
With Cucumber, you can't possibly specify tests for all the corner cases. That's what your rspecs (unit tests) are for.
From: cukes at googlegroups.com [mailto:cukes at googlegroups.com] On Behalf Of Ed Howland
Sent: Tuesday, April 20, 2010 1:33 PM
To: rspec-users; cukes at googlegroups.com
Subject: [Cucumber:4066] Cucumber vs, RSpec
Please forgive the x-post.
I just got back from the Great Lakes Ruby Bash. They had several good presentations, two specific to BDD and Cucumber. I also talked to several CEOs and devs afterwards, and the overall takeaway I gathered was a shift to less RSpec and more Cucumber. Some people even claimed a 90/10 split (cukes/specs) on current projects.
This was surorising to me and not at all how I worked up to this point. I was more 20/80. I usually cuked a feature, then spec'ed the code to make the cuke work. Each release had some new features and specs for all the underlying code. Apparently, the feeling is that you should do all your main thrusts with Cucumber and use RSpec for edge cases. The theory is that you can change out all the underlying code and the cukes still pass.
What is the communities consensus on this?
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to cukes at googlegroups.com.
To unsubscribe from this group, send email to cukes+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
More information about the rspec-users