Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Course
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

PHP Unit Testing

This course will teach you how to write unit tests for your PHP using PHPUnit.

Travis Thomsen - Pluralsight course - PHP Unit Testing
Travis Thomsen
What you'll learn

In this course, PHP Unit Testing, you’ll learn to write unit tests using PHPUnit. First, you’ll explore why you should write tests for your code and how it will make your life easier as a developer. Next, you’ll discover how to write assertion tests, use fixtures as well as, using test doubles to isolate unit tests from external dependencies. Finally, you’ll learn how to tackle more advanced topics such as test driven development, code coverage, database integration testing and testing asynchronous calls in PHP. When you’re finished with this course, you’ll have the skills and knowledge of confidently writing tests for your PHP code using PHPUnit.

Table of contents

About the author
Travis Thomsen - Pluralsight course - PHP Unit Testing
Travis Thomsen

I've worked in IT for over 20 years. My area of focus has been API development, automation, CI/CD and containerization. I'm a passionate learner constantly looking to improve my skills and learn new things.

Get access now

Sign up to get immediate access to this course plus thousands more you can watch anytime, anywhere.

Get started with Pluralsight