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

YouTube

Symfony Tutorial - Test Driven Development Full Course - Learn TDD Using PHPUnit

via YouTube

Overview

Limited-Time Offer: Up to 75% Off Coursera Plus!
7000+ certificate courses from Google, Microsoft, IBM, and many more.
Learn Test Driven Development (TDD) using PHPUnit in Symfony by building a service that makes HTTP requests to an API and stores data in a database. The course covers creating Symfony projects, writing unit and feature tests, integrating Symfony components, handling API responses, and more. The intended audience for this course includes developers looking to enhance their TDD skills in Symfony.

Syllabus

Introduction / course overview.
RapidAPI introduction.
Create a new Symfony project.
Create an SQLite in-memory test database.
Write the first unit test.
Part 2.
Write a feature test.
Create a console command.
Create custom client class for requesting an API.
Part 3.
Create an integration test.
Injecting the Symfony HttpClient component.
Ping the API .
Part 4.
Add the Symfony Serializer component.
Serializer component - deserialize into an entity.
Refactoring for loosely coupled code.
Create a test fake to mimic requesting the API during tests.
Segmenting tests into groups.
Part 5.
Test handling non 200 status code responses from the API.
Create development database using Symfony / Docker integration.
Part 6.
Serializer component - Update an existing entity.
Handling unexpected errors from an API.

Taught by

Gary Clarke

Reviews

Start your review of Symfony Tutorial - Test Driven Development Full Course - Learn TDD 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.