Testing .NET Code with xUnit.net: Getting Started

xUnit.net is a modern testing framework that is also used by the .NET development team. This course teaches you how to get started writing xUnit.net automated tests to verify your application is working as expected and help prevent costly bugs.
Course info
Rating
(204)
Level
Intermediate
Updated
Sep 5, 2019
Duration
2h 13m
Table of contents
Course Overview
Getting Started
Determining Passing and Failing Tests with Asserts
Understanding and Controlling Test Execution
Creating Data-driven Tests
Description
Course info
Rating
(204)
Level
Intermediate
Updated
Sep 5, 2019
Duration
2h 13m
Description

It's usually more expensive, time-consuming, and stressful to fix software bugs after they have been released to production environments. A good set of automated tests helps to verify that the application is working as expected and helps to prevent bugs from getting into production. In this course, Testing .NET Code with xUnit.net: Getting Started, you'll get an overview of automated testing to empower you to be able to start testing your own applications. First, you'll learn how to create xUnit.net automated tests that verify different types of results. Next, you'll explore how to customize and control test execution and categorization. Finally, you'll discover how to reduce the amount of test code you need to write by using the power of data-driven tests. When you're finished with this course, you'll have a foundational knowledge of xUnit.net that will help you to start writing your own automated tests.

About the author
About the author

With over 15 years experience, Jason Roberts is a Microsoft .NET MVP, freelance developer, and author.

More from the author
Working with Nulls in C#
Advanced
2h 31m
Aug 13, 2021
Working with Files and Streams in C#
Intermediate
3h 25m
Jun 2, 2021
Exception Handling in C#
Intermediate
1h 44m
Mar 22, 2021
More courses by Jason Roberts
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name's Jason Roberts, and welcome to my course, Testing .NET Code with xUnit.net: Getting Started. I'm a freelance developer and author. It's always expensive, stressful, and time consuming to fix software bugs after they've been released to production. A good set of automated tests helps to verify that the application is working as expected and helps to prevent these bugs from making their way into production. In this course, you'll learn how to use the xUnit.net testing framework to create and run automated tests. Some of the major topics that we'll cover in this course include how to create a new xUnit.net test project, how to verify different types of results, how to customize and control how your tests get executed, how to group and execute subsets of tests using categories, and how to reduce the amount of test code you need to write by creating data‑driven tests. By the end of this course, you'll know how to use xUnit.net to create your own automated tests to help you find bugs before they get to production. Before beginning the course, you should be familiar with basic C# programming. I hope you'll join me on this journey to learn how to create automated tests with the Testing .NET Code with xUnit.net: Getting Started course, at Pluralsight.