Skip to content

vitr-archive/test-driven-laravel-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

test-driven-laravel-from-scratch

Test Driven Laravel from Scratch from Adam Wathan at https://adamwathan.me/2016/01/11/test-driven-laravel-from-scratch/

The commands to run tests

vendor/bin/phpunit tests/features/ViewAnotherUsersTweetsTest.php
vendor/bin/phpunit tests/unit/UserTest.php

What I personally love about TDD is that it gives you some hints what to do next after every failed test run. If you're a busy developer, like me, you have to switch between languages, frameworks, IDEs and operating systems and it's hard to remember all the code you have to write to make a working app at the first try. Using TDD, the only thing I have to remember is how to run the tests, isn't it wonderful?! The tests are better than any docs or how-tos, they quickly put you into the right mindset. I cannot recommend highly enough using TDD or at least some tests in you day to day work. You will be more productive and more confident in your code, you will go faster! Just believe me or Uncle Bob:-)

About

Test Driven Laravel from Scratch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages