DEV Community

Discussion on: Try ending today with a failing test for a great start tomorrow

 
nholden profile image
Nick Holden

When it's feasible, testing the real system rather than mocks gives me more confidence that the thing I'm testing actually works.

Thread Thread
 
hilaberger92 profile image
Hila Berger

I understand what you mean, but mocks can help you test more cases, thus you can be confident that the thing you're testing works on edge cases too, don't you think?