Mastering C# Unit Testing
3h 59m 22s
English
Paid
Course description
"Mastering C# Unit Testing" is an advanced course focused on teaching best practices for crafting high-quality unit tests in real-world C# applications. The course is led by Julio Casal, a Microsoft software engineer with a decade of experience in writing thousands of unit tests across various C# applications.
Read more about the course
Key Features of the Course:
- Advanced Unit Testing Techniques: Dive deep into advanced strategies and methods to create effective unit tests for C# applications.
- Expert Insights: Julio Casal's extensive experience in the field provides invaluable insights into the nuances of unit testing.
- Good vs. Bad Unit Tests: Learn to distinguish between well-written and poorly constructed unit tests, understanding what makes a unit test effective.
- Practical Application: Focus on practical, real-world applications, especially within the SVN.Net core environment.
- Tools and Techniques: Get acquainted with various tools and techniques that are essential for successful unit testing in professional projects.
- Comprehensive Learning: The course covers a wide range of topics, ensuring a thorough understanding of unit testing in C#.
- Hands-on Experience: Expect practical exercises and real-life scenarios that will enhance your unit testing skills and apply them effectively in your projects.
Watch Online
0:00
/ #1: Course introduction
All Course Lessons (44)
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | Course introduction Demo | 00:39 | |
| 2 | Course outline | 01:03 | |
| 3 | Is this course for you? | 00:42 | |
| 4 | Software prerequisites | 00:49 | |
| 5 | Setting up VS Code for unit testing | 02:06 | |
| 6 | Introduction | 00:32 | |
| 7 | Avoid testing implementation details | 06:04 | |
| 8 | Use fakes wisely | 09:34 | |
| 9 | Avoid multiple AAA sections | 03:31 | |
| 10 | Avoid logic in tests | 04:41 | |
| 11 | Reusing test fixtures | 07:29 | |
| 12 | Working with time | 07:08 | |
| 13 | Testing private methods | 07:14 | |
| 14 | Introduction | 00:23 | |
| 15 | Choosing what to test | 02:59 | |
| 16 | The ASP.NET Core API you will unit test | 12:18 | |
| 17 | Refactoring overcomplicated code – Take 1 | 06:30 | |
| 18 | Refactoring overcomplicated code – Take 2 | 06:31 | |
| 19 | Refactoring overcomplicated code – Take 3 | 07:10 | |
| 20 | Introduction | 00:26 | |
| 21 | Testing entities | 11:42 | |
| 22 | Testing application services | 12:09 | |
| 23 | Testing error mapping logic | 07:34 | |
| 24 | Testing data repositories | 02:30 | |
| 25 | Testing controllers | 08:21 | |
| 26 | Testing minimal APIs | 08:49 | |
| 27 | Introduction | 00:28 | |
| 28 | What is code coverage? | 01:32 | |
| 29 | Using code coverage in VS Code | 10:54 | |
| 30 | Using code coverage in Visual Studio | 03:00 | |
| 31 | What’s the ideal code coverage number? | 02:12 | |
| 32 | Configuring what to include in code coverage | 06:55 | |
| 33 | Increasing the coverage | 04:55 | |
| 34 | Introduction | 00:25 | |
| 35 | Running tests in parallel | 04:10 | |
| 36 | Using AutoFixture | 08:03 | |
| 37 | Using live unit testing | 06:24 | |
| 38 | Unit testing with ChatGPT | 12:49 | |
| 39 | Introduction | 00:22 | |
| 40 | Clean architecture quick recap | 03:01 | |
| 41 | The application to test | 13:34 | |
| 42 | What should you test? | 03:03 | |
| 43 | Unit testing the application | 13:19 | |
| 44 | Running code coverage | 05:22 |
Unlock unlimited learning
Get instant access to all 43 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscriptionBooks
Read Book Mastering C# Unit Testing
| # | Title |
|---|---|
| 1 | Handouts |
| 2 | Net8Upgrade |
Comments
0 commentsWant to join the conversation?
Sign in to commentSimilar courses
Fullstack ASP.NET Core and React Masterclass | Learnify
Sources: fullstack.io
Learnify is a self-paced, online Masterclass, where you will master ASP.NET CORE and React by building a practical, real-world application from scratch.
20 hours 40 minutes 31 seconds
Blazor From Start to Finish
Sources: iamtimcorey.com (Tim Corey)
Blazor is a game changer for developers. But figuring out how to access the full power of Blazor can leave you frustrated. Can it really replace Javascript completely? What is ...
14 hours 19 minutes 46 seconds
DevOps from Start to Finish
Sources: iamtimcorey.com (Tim Corey)
How real-world developers set up their projects, use source control, configure CI/CD, and manage multiple environments. In this course*, you are going to learn how to set up you...
5 hours 43 minutes 19 seconds