In this training you will learn to write effective unit, integration, and system tests using PHPUnit, the most popular test framework for PHP.
Target audience
This training is aimed at developers who have experience with PHP and want to learn how to test their application code effectively using PHPUnit.
Prerequisites
Attendees should have at least 1-2 years of experience with PHP and object-oriented programming, and be confident in using an IDE and the command line.
Learning objectives
After completing this training, you:
- Can use PHPUnit to write automated tests
- Know about the Test Pyramid and different types of tests (unit, integration, and system tests)
- Can write unit, integration and system tests following common design patterns and best practices
- Can use test doubles (dummies, fakes, stubs, spies and mocks) to isolate unit tests from other code