3 items tagged with "test-driven-development"
A development discipline where you write a failing test first, write minimal code to pass it, then refactor, in short red-green-refactor cycles.
Tests coupled to private internals rather than observable behavior, so harmless refactors break them and real bugs slip through.
Test-driven development (TDD) is a software practice in which developers write a failing automated test before writing the code to make it pass, then refactor, repeating in short cycles.