Is there a difference between TDD and Test First Development (or Test First Programming)?

There’s a difference in terms of what the driving factor is. Do you have a vague idea of what the class (or system – this can happen at different scales, of course) should look like, then think up tests which give it the actual shape? That’s TDD. Do you know exactly what the public API … Read more

How do you unit test a unit test? [closed]

First, testing is like security — you can never be 100% sure you’ve got it, but each layer adds more confidence and a framework for more easily fixing the problems that remain. Second, you can break tests into subroutines which themselves can then be tested. When you have 20 similar tests, making a (tested) subroutine … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)