Hacker News new | past | comments | ask | show | jobs | submit login

Don't mock everything, by mocking everything, you are testing... nothing.



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?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: