filmov
tv
Symfony 5 Test Driven Development (TDD) Tutorial
![preview_player](https://i.ytimg.com/vi/TOa7JGbRwvk/maxresdefault.jpg)
Показать описание
ℹ In this 80 minute recording, I will build out a Symfony service, using Test Driven Development, which is able to make an HTTP request to an API and then store some of the returned data in a database.
💻Source code here:
👇Follow me on Social Media:
Chapters:
0:00 Introduction / course overview
1:38 RapidAPI introduction
2:10 Create a new Symfony project
3:38 Create an SQLite in-memory test database
7:19 Write the first unit test
13:36 Part 2
14:20 Write a feature test
19:00 Create a console command
26:00 Create custom client class for requesting an API
27:41 Part 3
29:32 Create an integration test
34:49 Injecting the Symfony HttpClient component
38:08 Ping the API
42:35 Part 4
43:12 Add the Symfony Serializer component
44:53 Serializer component - deserialize into an entity
45:26 Refactoring for loosely coupled code
48:43 Create a test fake to mimic requesting the API during tests
52:22 Segmenting tests into groups
56:12 Part 5
57:33 Test handling non 200 status code responses from the API
01:01:13 Create development database using Symfony / Docker integration
01:08:24 Part 6
01:14:34 Serializer component - Update an existing entity
01:17:15 Handling unexpected errors from an API
💻Source code here:
👇Follow me on Social Media:
Chapters:
0:00 Introduction / course overview
1:38 RapidAPI introduction
2:10 Create a new Symfony project
3:38 Create an SQLite in-memory test database
7:19 Write the first unit test
13:36 Part 2
14:20 Write a feature test
19:00 Create a console command
26:00 Create custom client class for requesting an API
27:41 Part 3
29:32 Create an integration test
34:49 Injecting the Symfony HttpClient component
38:08 Ping the API
42:35 Part 4
43:12 Add the Symfony Serializer component
44:53 Serializer component - deserialize into an entity
45:26 Refactoring for loosely coupled code
48:43 Create a test fake to mimic requesting the API during tests
52:22 Segmenting tests into groups
56:12 Part 5
57:33 Test handling non 200 status code responses from the API
01:01:13 Create development database using Symfony / Docker integration
01:08:24 Part 6
01:14:34 Serializer component - Update an existing entity
01:17:15 Handling unexpected errors from an API
Комментарии