Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Deep dive into Unit Testing
Highest Rated
Rating: 4.6 out of 5(37 ratings)
1,090 students

Deep dive into Unit Testing

.NET, Unit+Testing, Fake+Stub, Mocking, Data Driven Tests, Xunit, Testing+Techniques, Web API Tests, All Levels
Created bySudhanshu Jain
Last updated 9/2024
English
English [Auto],

What you'll learn

  • Learn all the features and capabilities of xUnit .net
  • Learn writing unit tests using the Mocking technique and xUnit
  • Learn how to write unit tests for legacy (old) applications
  • Learn how to measure test coverage

Course content

7 sections39 lectures2h 31m total length
  • Introduction1:06

    Explore unit testing with xunit for dotnet core across platforms, and learn testing patterns, data driven testing, mocking, and a real-time three-tier web API.

  • What is Unit Testing0:46

    Explore unit testing as a development-time approach that checks the quality of the smallest component of an application, combining unit and testing to validate each part.

  • Benefits of Unit Testing1:14

    Uncover how unit testing verifies that each unit satisfies requirements and catches bugs early before production, enabling design and testing to go hand in hand during the software development cycle.

  • Testing Frameworks & XUnit Overview0:42

    Explore the three main C# testing frameworks, with a focus on xUnit, its simplicity, and its integration with Visual Studio as an open source library under the .NET foundation.

  • Write your first Unit Test Case Program5:23

    Create your first unit test in Visual Studio by building a calculator class library with an add method, then test it using xUnit with arrange-act-assert and the test explorer.

  • GitHub Repository0:01

Requirements

  • Beginner programming experience needed

Description


All dotnet developers looking to develop new skills and take their career to the next level – this is the course to help you get there!


This course is focused on the Unit Testing .NET Core / .NET 6 Projects with xUnit .net, an open-source unit testing tool for .Net Framework and .Net Core/6 applications and the standard tool for unit testing C# VB. NET and F# projects in Visual Studio.


Overall, this course is for everyone and for all the levels as it is designed to understand and learn about the technicalities in  unit test cases.

Being a proficient and confident user of this tool will allow you to execute essential .NET core development tasks.

In this course, I will teach you:

  • The basics of the xUnit .net

  • Learn unit testing from scratch

  • How to write organized Unit Test Cases

  • How to use data-driven testing capabilities

  • Run and Debug Unit Tests

  • How to use mocking frameworks, including MoQ

  • How to test legacy code

  • How to write unit tests for .NET Core Web APIs

  • Implement unit testing in N-tier real world web application project using XUnit


Questions are always welcome from students and can be asked in the Q&A section of the course. I endeavor to respond to these quickly to create an engaging learning environment for my students.

Who this course is for:

  • Beginner Unit Testing engineers curious about testing application
  • Intermediate Unit Testing engineers curious about techniques
  • C# Developers
  • .NET Core Developers
  • Xamarin developers
  • Testers and QA Engineers