Join Justin Yost for an in-depth discussion in this video Automated vs. manual testing, part of Test-Driven Development in PHP with PHPUnit.
- [Instructor] We'll now discuss automated…versus manual testing.…A lot of unit testing patterns early on…will look similar to the conventions…that you've done when you've tested by hand.…Column method with a set of inputs…and in short you get the correct output.…Here's one of the key differences.…We write code to run those tests quickly…and in automated fashion.…We run those tests isolated from all other code…and unit tests make it easy to never forget…a special case and add new special cases as needed.…
These special cases are the bane of manual testing.…Every special little case that you have to test for…requires you to do a bunch of work…to get everything set up just so.…Maybe you have to ensure the database has a correct record…or you have to go through and submit a whole new form.…Plus, you have to remember all the special cases…for all the different parts of the system.…And that's a lot to do and to remember.…Unit testing, because it can be automated,…is obviously a way faster process…than any sort of manual testing.…
- 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
Skill Level Intermediate
Managing PHP Persistent Sessionswith David Powers2h 41m Intermediate
1. The Basics of Test-Driven Development
2. Advanced Test-Driven Development
3. Test-Driven Development Tactics
4. PHPUnit Advanced Tactics
- 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.