Ruby on Rails
Friday, August 23, 2013
Rspec is a popular framework for unit testing and Cucumber is used for integration testing and behavior driven development
-- Unit tests with rspec confirm that small, discrete portion continue working as developers add features.
Integration tests built with cucumber determine wether the application's features work as expected,testing the application from user point of view.
Thanks
On Thursday, August 22, 2013 2:29:04 PM UTC-7, Jason Hsu, Android developer wrote:
So far, I've been using RSpec for testing my Rails apps simply because that's what railstutorial.org emphasizes.
However, I am in the process of trying out Cucumber. I like the fact that it's in plain English, and this is an asset for communicating with clients or other people who aren't Rubyists. Migrating to Cucumber sounds like a good idea.
I'm curious about what you prefer. Do any of you know Cucumber well, yet still prefer RSpec? If so, why?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/38f9f99b-2dd0-46ae-9d79-bf20088a390d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment