You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sandal edited this page Sep 14, 2010
·
5 revisions
Enter your questions about “Ruby Best Practices” on this page. Occasionally, I’ll select a few and post my replies to the RBP blog.
example:
In your testing chapter, I noticed you don’t talk very much about how aggressive one should be about mocking and stubbing. Should we be mocking out dependencies as much as possible? Or is it sometimes okay to write tests that run against your real dependencies? Are there any decent rules of thumb for making some of these decisions?