Pluralsightintermediateen

Testing .NET Code with xUnit.net 2

Learn .NET testing with xUnit.net 2! This course gets you started with open-source testing frameworks for robust code.

4.5(149)
2h 39m
Certificate
Jason Roberts
Jason RobertsInstructor

Course Content

Testing .NET Code with xUnit.net 2 is an intermediate-level Pluralsight course taught by Jason Roberts. It runs 2h 39m, is taught in English, and includes a certificate of completion. Learners rate it 4.5 out of 5 from 149 reviews. It is a paid course, first published September 2020.

Unlock the power of xUnit.net 2, a leading testing framework for .NET! This comprehensive course dives into the features of this modern and extensible framework, widely adopted by the Microsoft ASP.Net 5 development team. Learn how to create, execute, and customize various types of automated tests, including unit tests, integration tests, and even UI tests when combined with complementary libraries.

You'll gain practical skills in writing and running tests using popular tools:

  • Visual Studio Test Explorer: Master test execution within your IDE.
  • ReSharper: Leverage ReSharper's capabilities for streamlined testing workflows.
  • Command Line: Automate test runs directly from the command line.

This course covers essential testing techniques, including:

  • Test Assertions: Learn to write robust assertions against diverse object types. Specifically, you'll cover asserting against:
    • Floating-point values
    • Collections
    • Exception handling (verifying expected exceptions are thrown)
  • Customizing Test Execution: Gain control over the test lifecycle to tailor testing to your specific needs.
  • Data-Driven Testing: Discover how to significantly reduce test code and maintenance efforts using data-driven tests. This approach is key to efficient and scalable testing.

By the end of this course, you'll be proficient in using xUnit.net 2 to build reliable and maintainable .NET tests, ensuring the quality of your applications.

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

pluralsight
pluralsight
5.0
2h 22m
intermediate
pluralsight
5.0
1h 13m
intermediate
pluralsight
5.0
2h 34m
intermediate
pluralsight
5.0
2h 7m
intermediate
pluralsight