Simple play icon Course
Skills Expanded

PHP Unit Testing

by Travis Thomsen

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

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

Course Overview
1min

About the author

I have over 23 years of experience as a Software Developer and DevOps Engineer. I am passionate about learning new technologies, methodologies, languages and automation. Specialties: Node.JS, Puppet, Configuration Management Continuous Integration and DevOps.

Ready to upskill? Get started