Sign In
    Saved
      Sign In
      Saved

C# Unit Testing with xUnit

tag
Total Duration
13 Hours

Unit testing has become standard practice for today's software developers and xUnit is one of the most popular unit testing frameworks available for .NET. The goal of this learning path is to help you understand how to write clean, testable code, all the way from writing your first test to mocking out dependencies to developing a pragmatic suite of unit tests for your application.

Courses in this Learning Path
1
Testing .NET Code with xUnit.net 2: Getting Started
learnpath-img
Duration : 2.47 hours
Price :₹1,499
Level :Intermediate
Learn Type :Certification
Testing .NET Code with xUnit.net 2: Getting Started

After software bugs are released to production, it is often more costly, time-consuming and stressful to fix them. Automated tests are a good way to ensure that your application works as it should and to stop bugs from reaching production. This course, Testing.NET Code withxUnit.net 2 - Getting Started, will give you an overview of automated testing and enable you to begin testing your own …

Read More
2
Mocking with Moq and xUnit
learnpath-img
Duration : 2.14 hours
Price :₹1,499
Level :Beginner
Learn Type :Certification
Mocking with Moq and xUnit

Writing unit tests can be time-consuming, difficult, and slow if you don't know how to isolate the classes that you want from the rest. This course, Mocking using Moq and xUnit will teach you how to create mocks that you can use as dependencies for the classes you wish to test. You'll first learn how to set up mocked properties and methods to return certain values. Next, you will learn how to …

Read More
3
Creating Maintainable Contexts for Automated Testing
learnpath-img
Duration : 1.26 hour
Price :₹1,499
Level :Intermediate
Learn Type :Certification
Creating Maintainable Contexts for Automated Testing

This course will show you how to create a typical test context. It will also explain the factors that can make it fragile and difficult to maintain. We can use software principles that we are all familiar with and patterns that we might not have seen before to create contexts that focus on the most important information to understand what your tests are trying tell you. The Object Mother …

Read More
4
Test Driven Development in C#
learnpath-img
Duration : 2.26 hours
Price :₹1,499
Level :Beginner
Learn Type :Certification
Test Driven Development in C#

A solid understanding of Test Driven Development is essential to writing robust and reliable C# code. This course will teach you how to use TDD in your.NET projects. You will first learn about TDD and the red-green refactor cycle. Next, you'll learn how to implement and test business logic in a.NET Core app using TDD. As a testing framework, you'll use xUnit and Moq to mock your code. Your …

Read More
5
Writing Testable Code
learnpath-img
Duration : 2.02 hours
Price :₹1,499
Level :Beginner
Learn Type :Certification
Writing Testable Code

Testable code is code that automates automated testing quickly, easily, and enjoyably. This course, Writing Testable Code teaches you how to create code that is easy for testing. These skills will allow you to easily refactor difficult-to-test code into testable code. You'll learn how to make your code testable by creating seams. Next, you will learn best practices to make testing code easier, …

Read More
6
.NET Unit Testing with AutoFixture
learnpath-img
Duration : 1.59 hour
Price :₹1,499
Level :Beginner
Learn Type :Certification
.NET Unit Testing with AutoFixture

Automated testing can be costly and time-consuming to create.
This course, .NET Unit Testing using AutoFixture will teach you how to use AutoFixture for anonymous test data generation.

First You'll learn how AutoFixture can generate anonymous test data for basic and custom types.
Next You'll find powerful ways to customize and control how AutoFixture generates anonymous tests …

Read More
7
Improving Unit Tests with Fluent Assertions
learnpath-img
Duration : 0.39 hour
Price :₹1,499
Level :Intermediate
Learn Type :Certification
Improving Unit Tests with Fluent Assertions

It can be difficult to determine the cause of test failures when they occur. Sometimes, test failure messages that are unclear or not sufficiently detailed can make it difficult to understand why the tests failed. To find out the cause of the failures, you may need to open the debugger and put the test in debug mode. This course, Improving Unit Tests using Fluent Assertions will teach you the …

Read More