Join Joseph Lowery for an in-depth discussion in this video Understanding unit testing, part of Up and Running with Laravel.
Testing your web application as you develop it…is pretty much a fact of life.…If you want to make sure it all works when it's deployed,…you need to test it as you create it.…Laravel has fully embraced the philosophy…of test-driven development,…and in this lesson we'll pursue an overview…of testing in Laravel in general…and unit testing in particular.…While all web developers test their code manually,…a smaller but growing percentage…now incorporate automated testing,…making it an emerging standard.…
However, as web applications scale up…in scope and use,…such structured exploration becomes imperative.…Test driven development, or TDD,…reverses the develop-and-then-test paradigm.…Instead, as the name states outright,…testing is the driving force for development,…and ensures that newly introduced code…doesn't break the code already written.…Unit testing is a particular approach of TDD.…
The key to unit testing is focus,…whether on a particular class, method, or function.…The goal here is to isolate the procedure,…whatever it is, as much as possible.…
- Installing Laravel
- Handling testing
- Establishing an HTML view
- Connecting to a database
- Enabling version control
- Setting up-and-running unit tests
Skill Level Intermediate
Up and Running with PHP CodeIgniter (2013)with Jon Peck1h 30m Intermediate
Up and Running with Symfony2 for PHP (2014)with Jon Peck2h 4m Intermediate
1. Introduction to Laravel
2. Creating Initial Laravel Pages
3. Displaying Laravel Code
4. Creating a Laravel Application
5. Testing Your Laravel Code
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.