Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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