Episode

Testing with the xUnit Framework - Overview (2 of 12) | Automated Software Testing

with Leslie Richardson, Robert Green, Phil Japikse

Welcome to the Automated Software Testing series, where you will learn how to increase the efficiency and ROI of your software testing. The xUnit testing framework is the premier framework for building automated tests in C# and .NET. In this episode, Phil Japikse dives into the power and capabilities of xUnit.

Chapters

  • 00:00 - Introduction
  • 00:50 - What is Test Driven Development?
  • 02:55 - Introduction to xUnit
  • 04:35 - Installing xUnit in your projects
  • 06:00 - Using Arrange, Act and Assert
  • 10:30 - Running your tests and see the results in Test Explorer
  • 12:10 - Using InlineData to run a test with various inputs
  • 15:30 - Skipping tests
  • 16:50 - Changing the display name of a test
  • 17:45 - Test setup and teardown
  • 23:40 - Wrapup

Connect

Visual Studio