Autoren: Kevlin Henney
These days testing is considered sexy for programmers.
These days testing is considered sexy for programmers. Who'd have thought it? But there is a lot more to effective programmer testing than the fashionable donning of a unit-testing framework: effective unit testing involves (a lot) more than knowledge of assertion syntax. Effective unit testing requires an understanding of what forms of feedback and communication are offered by tests, and what styles encourage or discourage such qualities. Unit testing can highlight coupling problems, functional defects, problematic programming practices, awkward programmatic interfaces, overly procedural objects, overly object-like functions, unclear requirements, poor integration culture, development process problems and so on.