Re:Mockito 2.1.0
by softawre on Monday October 03, 2016 @12:44PM
(#12629017)
My goal is to be pragmatic with testing. We have "tests" that actually spin up a real database too, but not all of our tests do that.
Where I'm with you is fighting the "architects". The guys that will constantly say you're not doing "real unit testing" and that you should mock every function (and then have to change every mock with every change and blah blah).
To me, being pragmatic with testing is a key component of GTD in modern software development.
Where I'm with you is fighting the "architects". The guys that will constantly say you're not doing "real unit testing" and that you should mock every function (and then have to change every mock with every change and blah blah).
To me, being pragmatic with testing is a key component of GTD in modern software development.