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

This crash course on API Platform focuses on teaching how to test a REST API using PHPUnit. The course aims to help learners quickly start writing their own APIs. By the end of the course, students will be able to set up a test database, populate it with fixtures, and perform various tests on their API. The teaching method involves practical demonstrations and hands-on exercises. This course is intended for individuals interested in learning how to test REST APIs using PHPUnit within the API Platform framework.

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.