Introduction to .NET Testing with NUnit
Offered By: Pluralsight
Course Description
Overview
NUnit is one of the most downloaded test frameworks for .NET. This course will teach you everything you need to know to get started testing your code, including asserts, categories, data-driven tests, customization, and how to reduce test code duplication.
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.
Topics:
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.
Topics:
- Course Overview
- Writing Your First NUnit Test
- Understanding NUnit Tests
- Asserting on Different Types of Results
- Controlling Test Execution
- Creating Data Driven Tests and Reducing Test Code Duplication
Taught by
Jason Roberts
Related Courses
Building Test Automation Framework - Selenium, C# & NUnitCoursera Project Network via Coursera Fluent Assertion
Board Infinity via Coursera MOQ
Board Infinity via Coursera Complete Guide to Unit Testing in .NET Core (NUnit & xUnit)
Packt via Coursera Data-Driven Testing (via Database) with Selenium & Nunit
Coursera Project Network via Coursera