| Toptal

Verfasst von

in

Writing unit tests can be tough, but it shouldn’t be. If your tests are hard to write, you probably have problems elsewhere. Untestable code is a sign of deeper design problems. In this article, Toptal developer Sergey Kolodiy delivers a comprehensive breakdown of what makes code hard to test, and how to write better code that avoids these pitfalls with stronger unit testing.

Quelle: Unit Testing and Coding Best Practices for Unit Tests: A Test-Driven Perspective | Toptal