Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Testing .NET Code with xUnit.net 2

Learn how to get started writing .NET tests using the open source xUnit.net 2 testing framework.

Intermediate
2h 39m
(149)

Created by Jason Roberts

Last Updated Sep 14, 2020

Course Thumbnail
  • Course

Testing .NET Code with xUnit.net 2

Learn how to get started writing .NET tests using the open source xUnit.net 2 testing framework.

Intermediate
2h 39m
(149)

Created by Jason Roberts

Last Updated Sep 14, 2020

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

xUnit.net 2 is a modern, extensible, multi-platform testing framework for .NET. Currently being used by the Microsoft ASP.Net 5 development team, xUnit.net allows the creation, execution, and customization of automated tests such as unit, integration, and, when combined with other libraries, even automated UI tests. In this course, you'll learn about the features of xUnit.net 2 and learn how to write and run tests in Visual Studio Test Explorer, ReSharper, and from the command line. You'll learn to write test asserts against different types of objects, including how to assert against floating point values, collections, and how to check that exceptions are thrown when expected. The course also covers how to customize the test execution life cycle and how data driven tests can reduce the amount of test code that needs to be written and help reduce test maintenance costs.

Testing .NET Code with xUnit.net 2
Intermediate
2h 39m
(149)
Table of contents

About the author
Jason Roberts - Pluralsight course - Testing .NET Code with xUnit.net 2
Jason Roberts
71 courses 4.4 author rating 10721 ratings

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

Get started with Pluralsight