Comment

Comment by dopidopHN

Could someone elaborate on why “mocking is a smell”? Is it opposed to running the whole system with real interactions?

I find it a nice shortcut, but true as well than the mocking behavior can be non existent in the real code path.

Still, I reach out to mocking libraries often. Is that a bad practices and why ?

parent dopidopHN 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton