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

YouTube

API Platform Crash Course - Testing a REST API Using PHPUnit

Gary Clarke via YouTube

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

Reviews

Start your review of API Platform Crash Course - Testing a REST API Using 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.