Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
COil
· 5y ago · 0 comments
Don't mock everything, by mocking everything, you are testing... nothing.
Comments
[–]
sethammons
5y ago
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.
[–]
toast0
5y ago
Mocking everything is mocking testing?