Introduction to .NET Testing with NUnit

Learn how to get started writing .NET tests using the open source NUnit testing framework.
Course info
Rating
(650)
Level
Beginner
Updated
Dec 22, 2014
Duration
1h 48m
Table of contents
Description
Course info
Rating
(650)
Level
Beginner
Updated
Dec 22, 2014
Duration
1h 48m
Description

NUnit is a popular open source alternative to the Microsoft MSTest framework and has over 1.5 Million NuGet downloads. NUnit can be used to write a variety of tests, from unit and integration tests, through to automated UI tests (when used in conjunction with other frameworks). In this course you'll learn about the general qualities of good tests before learning how to write and run tests in Visual Studio, from the command line, and using the NUnit GUI tool. In module 2 you will learn how to assert that your tests should pass or fail, including how to assert against floating point values, collections, and how to check that exceptions are thrown when expected. In the final module you will learn some additional attributes to perform tasks such as creating data-driven 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
Introduction to .NET Testing with NUnit 3
Intermediate
2h 6m
Dec 17, 2018
Working with Files and Streams in C#
Intermediate
3h 13m
Oct 12, 2018
Error Handling in C# with Exceptions
Intermediate
1h 37m
Aug 6, 2018
More courses by Jason Roberts