Book Recommendation: Testing with coffeescript by Jack Franklin [Free ebook]
TDD (Test Driven Development) was introduced to me around 2006 with PHPUnit. As a naive, I couldn’t see the benefits, eg.
<?php
require_once "function.php";
require_once "HSBC.php";
printPre($_POST);
$h1 = new HSBC();
echo $h1->error($_POST['CpiResultsCode']);
?>