Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Unit Testing with PHPUnit

via Pluralsight

Overview

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.

Debugging is typically very time-consuming, and pre-release manual testing is often unreliable. In this course, Unit Testing with PHPUnit 9, 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.

Syllabus

  • Course Overview 1min
  • Understanding the Role of Unit Tests 4mins
  • PHPUnit Basics 15mins
  • Advancing from Debugging to TDD 10mins
  • Writing Better Tests 8mins
  • Using Mocks 11mins
  • Measuring Code Coverage 10mins
  • Writing Integration Tests 14mins
  • Continuous Integration 6mins

Taught by

Anna Filina

Reviews

4.6 rating at Pluralsight based on 29 ratings

Start your review of Unit Testing with PHPUnit

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.