C# Unit Testing Essentials
2h 35m 23s
English
Paid
Course description
"C# Unit Testing Essentials" is an in-depth course that provides a comprehensive guide to writing unit tests for C# applications. This course is led by Julio Casal, a software engineer at Microsoft, who brings a decade's worth of experience in writing thousands of unit tests across various C# applications.
Read more about the course
Key Features of the Course:
- Foundation in Unit Testing: You will learn the fundamentals of unit testing in C#, starting from the basics and advancing step by step.
- Expert Guidance: Julio Casal's extensive experience, particularly in writing unit tests for C# applications, offers valuable insights and practical knowledge.
- Focus on Modern Tools and Libraries: The course covers the latest and most popular tools and libraries used by .NET developers today for unit testing, ensuring that learners are up-to-date with current industry standards.
- Building Confidence in Writing Tests: By the end of the course, you will not only understand the importance of unit testing but also gain confidence in writing your tests effectively.
- Practical and Hands-on Approach: The course promises a practical approach, allowing learners to apply their knowledge to real-world scenarios and build a strong foundation in unit testing.
Watch Online
0:00
/ #1: Course introduction
All Course Lessons (44)
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | Course introduction Demo | 00:37 | |
| 2 | Course outline | 00:58 | |
| 3 | Is this course for you? | 00:27 | |
| 4 | Software prerequisites | 00:41 | |
| 5 | Introduction | 00:24 | |
| 6 | What is automated testing? | 03:52 | |
| 7 | Types of tests | 03:10 | |
| 8 | What is unit testing? | 03:47 | |
| 9 | Do I need unit tests? | 05:37 | |
| 10 | How many tests should I have? | 01:28 | |
| 11 | Introduction | 00:25 | |
| 12 | Choosing a unit testing framework | 01:49 | |
| 13 | Setting up VS Code for unit testing | 02:12 | |
| 14 | Write your first unit test | 09:19 | |
| 15 | Running your unit test | 04:15 | |
| 16 | Debugging your unit test | 02:29 | |
| 17 | Unit testing with Visual Studio | 04:55 | |
| 18 | Introduction | 00:21 | |
| 19 | Unit test naming | 03:13 | |
| 20 | Using the AAA pattern | 03:09 | |
| 21 | Testing all code paths | 04:33 | |
| 22 | Catching a regression | 02:52 | |
| 23 | Refactoring with confidence | 02:23 | |
| 24 | Introduction | 00:23 | |
| 25 | The xUnit test lifecycle | 06:55 | |
| 26 | Getting test output | 04:19 | |
| 27 | Writing parameterized tests | 07:35 | |
| 28 | Ignoring tests | 03:14 | |
| 29 | Testing internal methods | 03:06 | |
| 30 | Introduction | 00:25 | |
| 31 | Asserting numbers, strings and dates | 07:31 | |
| 32 | Using FluentAssertions | 07:13 | |
| 33 | Asserting objects | 06:28 | |
| 34 | Asserting collections | 03:11 | |
| 35 | Asserting exceptions | 02:45 | |
| 36 | Asserting raised events | 02:33 | |
| 37 | Introduction | 00:33 | |
| 38 | The problem with dependencies | 07:09 | |
| 39 | Refactoring towards loose coupling | 04:12 | |
| 40 | Using test doubles | 08:04 | |
| 41 | Stubs vs mocks | 01:16 | |
| 42 | Stubbing with NSubstitute | 04:00 | |
| 43 | Mocking with NSubstitute | 05:29 | |
| 44 | Stubbing and Mocking with Moq | 06:06 |
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 C# Unit Testing Essentials
| # | Title |
|---|---|
| 1 | Handouts |
| 2 | Net8Upgrade |
Comments
0 commentsWant to join the conversation?
Sign in to commentSimilar courses
C# Developers: Double Your Coding Speed
Sources: codewithmosh (Mosh Hamedani)
If you want to be a real pro C# coder, you need to master your keyboard and Visual Studio. You need to be able to navigate in your code base, find and modify code in seconds. Gr...
1 hour 30 minutes 36 seconds
Foundation in C#: Object Oriented Programming Part 2
Sources: iamtimcorey.com (Tim Corey)
This is where you really fill in the gaps of your OOP knowledge. This course covers topics like method overriding and overloading, events, generics, abstract classes, and a lot ...
7 hours 24 minutes 3 seconds
Foundation in C#: Object Oriented Programming
Sources: iamtimcorey.com (Tim Corey)
This gets you the 80% of OOP with the 20% of effort. Get to know the foundation of OOP well so that when, in the later module, we cover advanced OOP, you will be ready. Learn ab...
3 hours 24 minutes 9 seconds
C# Weekly Challenges
Sources: iamtimcorey.com (Tim Corey)
Weekly C# challenges are just that - challenges you get every week* to complete some task in C#. They push you to be better in an area and they help refresh your skills in areas...
43 hours 12 minutes 52 seconds