If you have a complex piece of code and you need to refactor it, there's one thing that will give you confidence - it's automated tests. And it's never too late to start writing tests, even if you haven't done it in this project before, or at all.
In this video, I'm showing an exact example of a refactoring, based on the automated tests I've written before the refactoring.
- - - - -
Related links:
- Github repository for this project: https://github.com/LaravelDaily/Laravel-School-Timetable-Calendar
- My Course "Laravel: PHPUnit Testing for Beginners" - http://bit.ly/phpunit-laravel ($19)
- Jason McCreary talk during Laracon Online "Laravel Testing Strategies" - https://laracon.net/ ($25 for all videos)
- - - - -
Try our QuickAdminPanel code generator: http://bit.ly/quickadminpanel
Download
0 formats
No download links available.
Afraid To Refactor? One Thing That May Help [Example Demo] | NatokHD