Completed
Test scope
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
PHP Unit Testing with PHPUnit Tutorial
Automatically move to the next video in the Classroom when playback concludes
- 1 Introduction / overview
- 2 Install PHPUnit
- 3 Create a test file
- 4 Run a test from the command line
- 5 Making assertions
- 6 Tests which fail
- 7 Using colors in test feedback
- 8 Testing objects and classes
- 9 Using the '@test' annotation
- 10 Using filter option to run individual tests
- 11 Configuring phpunit usng phpunit.xml
- 12 Autoloading classes in tests
- 13 Test scope
- 14 The setUp method
- 15 The tearDown method
- 16 Testing errors and exceptions
- 17 Test doubles
- 18 Creating mock objects
- 19 Mocking methods
- 20 Injecting mock test dependencies
- 21 Test number of times a method is expected to be called
- 22 Grouping tests