Complete Guide to Unit Testing in .NET Core (NUnit and xUnit) [Video]

By Bhrugen Patel
    What do you get with a Packt Subscription?

  • Instant access to this title and 7,500+ eBooks & Videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies
  1. Free Chapter
    Introduction to the Course
About this video

“Production application can break with a simple change that was unexpected to alter any other functionality.” Sounds familiar, right?

The good news is, with well-written unit tests, this would be a thing of the past.

Automated testing has been a buzzword for a while, but many times developers struggle to find a course that covers the fundamentals of unit testing while implementing what they learned in a real-world project! That is the focus of this course.

This course is all about writing effective unit tests using C# programming language and NUnit/xUnit as a unit testing framework. Along the way, you will learn the concepts related to unit testing. Today, unit testing is an absolutely required skill from any professional developer. Companies expect developers to know how to write unit tests using the best practices. This course will help you set up a solid foundation with a real-world example and how unit testing could be done in a .NET core web application with EF Core.

By the end of this course, you will have a solid foundation with unit testing. Along with a solid foundation, you will also implement what is learned in real-world N-Tier web applications with .NET 6 and EF Core.

All the code files and resource files are added to the GitHub repository at:

Publication date:
October 2021
5 hours 17 minutes

About the Author
  • Bhrugen Patel

    Bhrugen Patel is a passionate and creative software engineer with a strong focus on simplicity and thorough details. He has been programming since high school and was involved with multiple web and desktop projects using .NET. He has a master’s degree in computer science and a bachelor’s degree in computer engineering. He also has many years of experience with .NET C# and .NET MVC. He enjoys teaching alongside his full-time job.

    Browse publications by this author
Complete Guide to Unit Testing in .NET Core (NUnit and xUnit) [Video]
Unlock this video and the full library FREE for 7 days
Start now