Интеграционное тестирование быстро стало одним из наиболее используемых и важных видов тестирования для современных приложений на .NET и ASP.NET Core. Это в основном связано с тем, насколько ценным может быть один интеграционный тест и насколько легко стало в настоящее время писать интеграционные тесты благодаря прогрессу в инструментарии. В этом курсе Ник Чапсас познакомит вас с прекрасным миром современного интеграционного тестирования и покажет, как вы можете гарантировать, что ваши сервисы работают как ожидается.
Это пробный урок. Оформите подписку, чтобы получить доступ ко всем материалам курса. Премиум
Урок 1.
00:01:36
Welcome
Урок 2.
00:02:52
What will you learn in this course?
Урок 3.
00:01:38
Who is the course for and prerequisites
Урок 4.
00:08:19
The types of testing
Урок 5.
00:03:03
The testing pyramid
Урок 6.
00:02:20
Why are integration tests so important?
Урок 7.
00:02:18
Why should you write integration tests?
Урок 8.
00:03:08
What is in scope for integration testing
Урок 9.
00:06:41
The project we will be working with
Урок 10.
00:03:00
The 5 core integration testing steps
Урок 11.
00:02:40
Project separation
Урок 12.
00:01:17
Why xUnit?
Урок 13.
00:04:52
Writing your first integration test
Урок 14.
00:02:32
Naming in integration tests
Урок 15.
00:01:49
Arrange, Act, Assert
Урок 16.
00:03:29
xUnit’s test execution model
Урок 17.
00:02:05
Test setup
Урок 18.
00:01:54
Test cleanup
Урок 19.
00:05:27
Parameterizing tests
Урок 20.
00:01:19
Ignoring tests
Урок 21.
00:00:47
Section recap
Урок 22.
00:00:32
What this section is about
Урок 23.
00:03:20
Writing fluent assertions
Урок 24.
00:02:59
Testing strings
Урок 25.
00:02:01
Testing numbers
Урок 26.
00:01:38
Testing dates
Урок 27.
00:03:33
Testing objects
Урок 28.
00:03:33
Testing enumerables
Урок 29.
00:02:24
Testing methods that throw Exceptions
Урок 30.
00:01:30
Testing for raised events
Урок 31.
00:01:25
Testing private methods (members)
Урок 32.
00:03:02
Testing internal methods (members)
Урок 33.
00:00:27
Section recap
Урок 34.
00:01:15
The problem with integration tests
Урок 35.
00:05:07
Introducing the WebApplicationFactory
Урок 36.
00:01:59
Testing status codes
Урок 37.
00:01:32
Testing text responses
Урок 38.
00:01:35
Testing JSON responses
Урок 39.
00:01:01
Testing response headers
Урок 40.
00:05:40
Creating realistic test data
Урок 41.
00:02:32
Cleaning up the test data
Урок 42.
00:05:33
Sharing a single application for multiple test classes
Урок 43.
00:00:38
Section recap
Урок 44.
00:05:12
The project we will be writing integration tests for
Урок 45.
00:03:47
Creating the WebApplicationFactory
Урок 46.
00:01:20
The problem with data store dependencies
Урок 47.
00:04:06
Introducing Docker
Урок 48.
00:02:50
Taking a look at docker compose files
Урок 49.
00:08:05
Creating a test container for our database
Урок 50.
00:01:46
The problem with third party API dependencies
Урок 51.
00:03:51
Introducing WireMock
Урок 52.
00:05:58
Creating a mocked API server with WireMock
Урок 53.
00:14:40
Testing: Create a resource
Урок 54.
00:01:07
Your turn to practice
Урок 55.
00:04:35
Testing: Getting a resource
Урок 56.
00:05:06
Testing: Getting all resources
Урок 57.
00:03:52
Testing: Updating a resource
Урок 58.
00:01:26
Testing: Deleting resource
Урок 59.
00:04:37
Testing: API Dependency Is Unavailable
Урок 60.
00:02:13
Dealing with requests requiring auth
Урок 61.
00:01:37
Dealing with background services
Урок 62.
00:00:53
Integration testing Minimal APIs
Урок 63.
00:03:11
Dealing with Entity Framework
Урок 64.
00:01:07
Section recap
Урок 65.
00:02:16
The project we will be writing UI integration tests for
Урок 66.
00:01:42
What we need to do to test the UI
Урок 67.
00:04:13
Introducing Playwright
Урок 68.
00:06:38
How our Docker strategy changes
Урок 69.
00:07:12
Bootstraping the test project
Урок 70.
00:14:34
Testing: Create a resource
Урок 71.
00:06:38
Testing: Get a resource
Урок 72.
00:00:49
Your turn to practice
Урок 73.
00:03:08
Testing: Getting all the resources
Урок 74.
00:05:58
Testing: Update a resource
Урок 75.
00:03:47
Testing: Delete a resource
Урок 76.
00:00:42
Section recap
Урок 77.
00:00:29
Course conclusion
Автор - Dometrain
Dometrain
Курсы, разработанные настоящими инженерами для реального мира. Курсы Dometrain направлены на предоставление опыта обучения, который программные инженеры могли бы получить, работая в паре с очень опытным и квалифицированным инженером в современной реальной компании.
Команда внимательно читает ваши комментарии и оперативно на них реагирует. Вы можете спокойно оставлять запросы на обновления или задавать любые вопросы о курсе здесь.
Этот курс для начинающих, ведущий которого - Хулио Касал, опытный инженер-программист, направлен на обучение созданию полнофункционального веб-приложения на ASP.NET Core с нуля. Курс построен таким образом, чтобы шаг за шагом провести учащихся через весь процесс разработки.