Hacker News new | ask | show | jobs
by umvi 441 days ago
Agree - unit tests are best for pure functions and the like. If you are having to do a ton of mocking and injection in order to unit test something, it's probably a sign black box testing might be higher value