Hacker News new | ask | show | jobs
by COil 1914 days ago
Don't mock everything, by mocking everything, you are testing... nothing.
2 comments

I love this. I can't count how many cases I've come across where at the end of the day, you assert that 1=1 because all that is happening is mocks being passed around and you assert that your mock is your mock.
Mocking everything is mocking testing?