Y
Hacker News
new
|
ask
|
show
|
jobs
by
COil
1914 days ago
Don't mock everything, by mocking everything, you are testing... nothing.
2 comments
sethammons
1914 days 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.
link
toast0
1914 days ago
Mocking everything is mocking testing?
link