Unit Testing With PHPUnit

What is Unit Testing and PHPUnit?

Why Unit Testing?

Conventions For Writing Unit Tests

Installing PHPUnit

composer require --dev phpunit/phpunit

Let’s Get Started

Data Providers

Code Coverage Analysis

.vendor/bin/phpunit --coverage-text

Final Words

References

Senior Software Engineer at Sendinblue