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
Recommended resources
Related episodes
- Why Automated Software Testing Matters
- Testing with the xUnit Framework - Overview
- Testing with the xUnit Framework - Theories and Assertions
- Testing with the xUnit Framework - More Assertions
- BDD Style Testing with MSpec
- Mocking Dependencies and Verifying Behavior - Moq Overview
- Mocking Dependencies and Verifying Behavior - Applying Moq
- Mocking Dependencies and Verifying Behavior - Additional Moq Features
- Running Unit Tests with Azure Pipelines
- Running Unit Tests with GitHub Actions
- Integration Testing with SQL Server and EF Core
- Web Application Testing with Microsoft's Playwright
Connect
- Visual Studio | Twitter: @VisualStudio
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
Recommended resources
Related episodes
- Why Automated Software Testing Matters
- Testing with the xUnit Framework - Overview
- Testing with the xUnit Framework - Theories and Assertions
- Testing with the xUnit Framework - More Assertions
- BDD Style Testing with MSpec
- Mocking Dependencies and Verifying Behavior - Moq Overview
- Mocking Dependencies and Verifying Behavior - Applying Moq
- Mocking Dependencies and Verifying Behavior - Additional Moq Features
- Running Unit Tests with Azure Pipelines
- Running Unit Tests with GitHub Actions
- Integration Testing with SQL Server and EF Core
- Web Application Testing with Microsoft's Playwright
Connect
- Visual Studio | Twitter: @VisualStudio
Have feedback? Submit an issue here.