In test-driven development (TDD), which is frequently used in both extreme programming and scrum, unit tests are created before the code itself is written.
Dalam pengembangan digerakkan pengujian (test-driven development atau TDD), yang sering digunakan dalam pemrograman ekstrem dan scrum, pengujian unit diciptakan sebelum kode itu sendiri ditulis.