153 Actions

Test Doubles, Mocks and Stubs - when not to use & why, for Ruby, Rspec@soru, you shouldn't worry about being wrong, that's not the point here. Btw, there are actually 3 links to get a broader picture. The question you have raised is also quite marginal in my answer. The central point is that there is a separation between what is covered by your test and what is not. These must be conscious choices and determine where to use stubs and where not.