ARE YOU NOT USING TDD ?!
while ( TDD === false ) {
bugs ++;
}
T.D.D ?
TEST
DRIVEN
DEVELOPMENT
TEST FIRST
MAKE IT PASS AS SIMPLE AS POSSIBLE
REFACTOR
The web service offered by the government
returns the value of the barcode with 44
characters.
A barcode with 48 characters
Our goal
What we have
BRING IT ON !
What if we change the code bar to a
new one ?
What if we provide a code bar with
less than 44 characters ?
Introduction to TDD (PHPunit examples)
Introduction to TDD (PHPunit examples)
Introduction to TDD (PHPunit examples)
Introduction to TDD (PHPunit examples)
Introduction to TDD (PHPunit examples)
Introduction to TDD (PHPunit examples)

Introduction to TDD (PHPunit examples)