Join Justin Yost for an in-depth discussion in this video How to use the exercise files, part of Test-Driven Development in PHP with PHPUnit.
- [Instructor] If you have access to the Exercise Files for this course, you can download them to your desktop as I've done here. The Exercise Files are organized into folders by chapter and then by movie number. Inside each folder is the collection of code we will be creating throughout the course, as well as any additional files or snippets needed for that specific video. If you are working out of the Exercise Files as opposed to creating your own files on your computer, you will need to run the command composer install from your Terminal application in the folder before starting each lesson's video.
In this case, I'm in chapter two, movie number six, and here I'll run the command composer install from the command line. If you don't have access to the Exercise Files, you can still follow along by creating your own files while watching.
- Why use unit testing?
- Writing unit tests
- Extending unit tests
- Filtering PHPUnit tests
- Building dummy objects
- Working with data providers
- Writing an exception-based test
- Using TDD tactics
- Using PHPUnit advanced tactics, such as database tests