Hacker News new | ask | show | jobs
by mcharezinski 2710 days ago
Unit testing can be valuable. And yes I agree with some of the points from the blog post - it can be a pain too.

When you experience such a situation it means that your tests are too low and you are testing the implementation, while you'd rather know if the system still works as expected.

One of the solutions could be some, when appropriate, using ports-adapters architecture and level up your unit tests.

Bunch of related blog posts have been published, e.g.[0]

[0] https://blogs.msdn.microsoft.com/ericgu/2014/12/01/unit-test...

1 comments

That's a cool link. I will spend the next hour working through it. Thanks.