Michael Lynch 9.11.2018

Why Good Developers Write Bad Unit Tests

Przeczytaj oryginał

This article explains why good developers often write bad unit tests by incorrectly applying production code principles like abstraction and encapsulation to test code. It argues that test code is a diagnostic tool that should be simple and obvious, not complex and abstract. Using the analogy of a skyscraper built on a beach, it illustrates how misapplying 'best practices' from production development can create tests that are hard to understand and maintain.

Why Good Developers Write Bad Unit Tests

komentarzy

Brak komentarzy

Bądź pierwszy, który podzieli się swoimi myślami!

Rozszerzenie przeglądarki

Uzyskaj natychmiastowy dostęp do AllDevBlogs z przeglądarki

Tydzień

No top articles yet