Book Image

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

By : Bhrugen Patel
Book Image

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

By: Bhrugen Patel

Overview of this book

“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: https://github.com/PacktPublishing/Sparky
Table of Contents (7 chapters)
Chapter 7
Real-World Example - NUnit
Content Locked
Section 6
In-Memory Database and Unit Testing
This video explains in-memory database and unit testing.