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