From Zero to Hero: Integration testing in ASP.NET Core
4h 15m 47s
English
Paid
January 9, 2024
Integration testing has quickly become one of the most used and most important types of testing for modern .NET and ASP.NET Core applications. This is mainly due to how much value a single Integration test can add and how easy it has become nowadays to write Integration Tests due to advancements in tooling. In this course, Nick Chapsas will introduce you to the beautiful world of modern integration testing and how you can ensure that your services behave as expected.
Watch Online From Zero to Hero: Integration testing in ASP.NET Core
Join premium to watch
Go to premium
# | Title | Duration |
---|---|---|
1 | Welcome | 01:36 |
2 | What will you learn in this course? | 02:52 |
3 | Who is the course for and prerequisites | 01:38 |
4 | The types of testing | 08:19 |
5 | The testing pyramid | 03:03 |
6 | Why are integration tests so important? | 02:20 |
7 | Why should you write integration tests? | 02:18 |
8 | What is in scope for integration testing | 03:08 |
9 | The project we will be working with | 06:41 |
10 | The 5 core integration testing steps | 03:00 |
11 | Project separation | 02:40 |
12 | Why xUnit? | 01:17 |
13 | Writing your first integration test | 04:52 |
14 | Naming in integration tests | 02:32 |
15 | Arrange, Act, Assert | 01:49 |
16 | xUnit’s test execution model | 03:29 |
17 | Test setup | 02:05 |
18 | Test cleanup | 01:54 |
19 | Parameterizing tests | 05:27 |
20 | Ignoring tests | 01:19 |
21 | Section recap | 00:47 |
22 | What this section is about | 00:32 |
23 | Writing fluent assertions | 03:20 |
24 | Testing strings | 02:59 |
25 | Testing numbers | 02:01 |
26 | Testing dates | 01:38 |
27 | Testing objects | 03:33 |
28 | Testing enumerables | 03:33 |
29 | Testing methods that throw Exceptions | 02:24 |
30 | Testing for raised events | 01:30 |
31 | Testing private methods (members) | 01:25 |
32 | Testing internal methods (members) | 03:02 |
33 | Section recap | 00:27 |
34 | The problem with integration tests | 01:15 |
35 | Introducing the WebApplicationFactory | 05:07 |
36 | Testing status codes | 01:59 |
37 | Testing text responses | 01:32 |
38 | Testing JSON responses | 01:35 |
39 | Testing response headers | 01:01 |
40 | Creating realistic test data | 05:40 |
41 | Cleaning up the test data | 02:32 |
42 | Sharing a single application for multiple test classes | 05:33 |
43 | Section recap | 00:38 |
44 | The project we will be writing integration tests for | 05:12 |
45 | Creating the WebApplicationFactory | 03:47 |
46 | The problem with data store dependencies | 01:20 |
47 | Introducing Docker | 04:06 |
48 | Taking a look at docker compose files | 02:50 |
49 | Creating a test container for our database | 08:05 |
50 | The problem with third party API dependencies | 01:46 |
51 | Introducing WireMock | 03:51 |
52 | Creating a mocked API server with WireMock | 05:58 |
53 | Testing: Create a resource | 14:40 |
54 | Your turn to practice | 01:07 |
55 | Testing: Getting a resource | 04:35 |
56 | Testing: Getting all resources | 05:06 |
57 | Testing: Updating a resource | 03:52 |
58 | Testing: Deleting resource | 01:26 |
59 | Testing: API Dependency Is Unavailable | 04:37 |
60 | Dealing with requests requiring auth | 02:13 |
61 | Dealing with background services | 01:37 |
62 | Integration testing Minimal APIs | 00:53 |
63 | Dealing with Entity Framework | 03:11 |
64 | Section recap | 01:07 |
65 | The project we will be writing UI integration tests for | 02:16 |
66 | What we need to do to test the UI | 01:42 |
67 | Introducing Playwright | 04:13 |
68 | How our Docker strategy changes | 06:38 |
69 | Bootstraping the test project | 07:12 |
70 | Testing: Create a resource | 14:34 |
71 | Testing: Get a resource | 06:38 |
72 | Your turn to practice | 00:49 |
73 | Testing: Getting all the resources | 03:08 |
74 | Testing: Update a resource | 05:58 |
75 | Testing: Delete a resource | 03:47 |
76 | Section recap | 00:42 |
77 | Course conclusion | 00:29 |
Similar courses to From Zero to Hero: Integration testing in ASP.NET Core
![What's New in C# 12: A Practical Guide with Exercises](https://cdn.courseflix.net/courses/100x56/what-s-new-in-c-12-a-practical-guide-with-exercises.jpg)
What's New in C# 12: A Practical Guide with Exercises
Duration 1 hour 40 minutes 12 seconds
Course
![Getting Started: Modular Monoliths in .NET](https://cdn.courseflix.net/courses/100x56/getting-started-modular-monoliths-in-net.jpg)
Getting Started: Modular Monoliths in .NET
Duration 3 hours 11 minutes 11 seconds
Course
![C# Developers: Double Your Coding Speed](https://cdn.courseflix.net/courses/100x56/c-developers-double-your-coding-speed.jpg)
C# Developers: Double Your Coding Speed
Duration 1 hour 30 minutes 36 seconds
Course
![Building Applications with React 17 and ASP.NET Core 6](https://cdn.courseflix.net/courses/100x56/building-applications-with-react-17-and-asp-net-core-6.jpg)
Building Applications with React 17 and ASP.NET Core 6
Duration 19 hours 28 minutes 31 seconds
Course
![Foundation in C#: Getting Started](https://cdn.courseflix.net/courses/100x56/foundation-in-c-getting-started.jpg)
Foundation in C#: Getting Started
Duration 1 hour 30 minutes 38 seconds
Course
![Thinking Like an Object-Oriented Programmer](https://cdn.courseflix.net/courses/100x56/thinking-like-an-object-oriented-programmer.jpg)
Thinking Like an Object-Oriented Programmer
Duration 4 hours 29 minutes 52 seconds
Course
![.NET Microservices: CQRS & Event Sourcing with Kafka](https://cdn.courseflix.net/courses/100x56/net-microservices-cqrs-event-sourcing-with-kafka.jpg)
.NET Microservices: CQRS & Event Sourcing with Kafka
Duration 8 hours 31 minutes 56 seconds
Course
![Automate All The Things With DevOps](https://cdn.courseflix.net/courses/100x56/automate-all-the-things-with-devops.jpg)
Automate All The Things With DevOps
Duration 3 hours 9 minutes 37 seconds
Course
![Blazor From Start to Finish](https://cdn.courseflix.net/courses/100x56/blazor-from-start-to-finish.jpg)
Blazor From Start to Finish
Duration 14 hours 19 minutes 46 seconds
Course
![From Zero to Hero: Test-Driven Development in C#](https://cdn.courseflix.net/courses/100x56/from-zero-to-hero-test-driven-development-in-c.jpg)
From Zero to Hero: Test-Driven Development in C#
Duration 5 hours 41 minutes 22 seconds
Course