The Fastest Way to Become a Backend Developer Online
MIT Sloan AI Adoption: Build a Playbook That Drives Real Business ROI
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn how to test a REST API using PHPUnit in this API Platform crash course video. Set up a test database, populate it with fixtures, and write comprehensive tests for your API endpoints. Explore techniques for testing pagination, handling deprecations, and validating product creation. Gain practical insights into effective API testing strategies to ensure the reliability and functionality of your REST API.
Syllabus
Introduction
Test Database
Test Database Setup
Create Test Database
Create Alice Packages
Create Product Fixture
Create Product Test
Refresh Database Trait
Testing pagination
Disable Symphony deprecations
Test assertions
Test create invalid product
Summary
Taught by
Gary Clarke