Learn Backend Development Part-Time, Online
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This introductory course shows how to write tests in PHP with PHPUnit, covering function and class tests, test setup and teardown, command-line options, and using tests during refactoring.
Syllabus
Introduction
Installing PHPUnit
Write your first test
Testing functions
Testing class methods
Command line options
Filtering tests
Errors vs Failures
Autoloading
The setUp method
The tearDown method
Using tests to refactor
Full course details
Taught by
Gary Clarke