What are the pros and cons of rspec mocking versus other mocking frameworks? [closed]
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this questionI have seen a lot of outdated podcasts that mention mocha as a gem I would want to install because it does mocking better then rspec. I have a feeling that the rspec developers have caught on to this and have improved their mocking since then. However, in the default spec_helper.rb
f开发者_运维知识库ile I see some commented out code stubs for three mocking frameworks
mocha
flexmock
rr
Upvote to anyone who can give me a decent answer as far as pros and cons on at least one of these frameworks versus rspec
's own mocking framework.
I'll accept an answer if you can give me a break down on all three versus rpsec
精彩评论