Saturday, April 1, 2017

TDD - write test first?

I am trying to understand what is TDD.

After some reading if I understand correctly - for Laravel development, I need to write some PHPUnit Test BEFORE implementing functionality in controllers, routes, model, etc?

It should not be other way around? Implement functionality and then do some PHPUnit Test?



via I'll-Be-Back

Advertisement