Главная
Study mode:
on
1
Introduction / course overview
2
RapidAPI introduction
3
Create a new Symfony project
4
Create an SQLite in-memory test database
5
Write the first unit test
6
Part 2
7
Write a feature test
8
Create a console command
9
Create custom client class for requesting an API
10
Part 3
11
Create an integration test
12
Injecting the Symfony HttpClient component
13
Ping the API
14
Part 4
15
Add the Symfony Serializer component
16
Serializer component - deserialize into an entity
17
Refactoring for loosely coupled code
18
Create a test fake to mimic requesting the API during tests
19
Segmenting tests into groups
20
Part 5
21
Test handling non 200 status code responses from the API
22
Create development database using Symfony / Docker integration
23
Part 6
24
Serializer component - Update an existing entity
25
Handling unexpected errors from an API
Description:
Dive into an 80-minute tutorial on Test Driven Development (TDD) using PHPUnit in Symfony. Build a service that makes HTTP requests to an API and stores data in a database. Learn to create SQLite in-memory test databases, write unit and feature tests, develop console commands, and work with custom client classes. Explore integration testing, inject the Symfony HttpClient component, and utilize the Serializer component for entity deserialization. Master techniques for loosely coupled code, test fakes, and test group segmentation. Gain insights on handling non-200 status code responses, creating development databases with Symfony/Docker integration, and managing unexpected API errors. Access source code, additional resources, and social media links for further learning and support.

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

Add to list
00:00
-01:37