Unit Testing with PHPUnit

Unit tests enable you to significantly reduce time on debugging and prevent you from breaking everything when you make changes. This course will teach you how to write unit tests in a simple and efficient way.
Course info
Rating
(16)
Level
Intermediate
Updated
Dec 15, 2020
Duration
1h 21m
Table of contents
Description
Course info
Rating
(16)
Level
Intermediate
Updated
Dec 15, 2020
Duration
1h 21m
Your 10-day individual free trial includes:

Expert-led courses

Keep up with the pace of change with thousands of expert-led, in-depth courses.
Description

Debugging is typically very time-consuming, and pre-release manual testing is often unreliable. In this course, Unit Testing with PHPUnit, you’ll learn to write unit tests in PHP. First, you’ll explore the fundamentals of unit tests and PHPUnit itself. Next, you’ll discover how to write better tests using mocks. Finally, you’ll learn how to track your code coverage and run tests using continuous integration. When you’re finished with this course, you’ll have the skills and knowledge of PHPUnit needed to increase the quality of your PHP applications.

About the author
About the author

Anna is a veteran Web developer. She likes elegant code, robust frameworks, lightning performance, automated testing, and timely project delivery. She has a knack for breathing new life into legacy code and teaching developers of all levels.

More from the author
Automated Tests with PHPUnit
Intermediate
1h 36m
Jan 12, 2016
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is Anna Filina, and welcome to my course, Unit Testing with PHPUnit. I am a software developer specialized in test automation and legacy modernization. Unit tests enable you to significantly reduce time on debugging and prevents you from breaking everything when you make changes. In this course, we will write tests for a PHP application. Some of the major topics that we will cover include writing and executing unit tests, using mocks to make the test simpler and more isolated, ensuring high code coverage, writing integration tests for code that interacts with databases or files, as well as a brief introduction to continuous integration. By the end of this course, you will have the skills and knowledge needed to increase the quality of your PHP applications. Before beginning the course, you should be familiar with object‑oriented PHP and databases. I hope you will join me on this journey to learn unit testing with PHPUnit at Pluralsight.