July 2024
Intermediate to advanced
360 pages
9h 45m
English
This chapter covers
Like many modern programming frameworks, .NET has built-in support for testing. In this chapter, we’ll cover the basics of writing and running unit tests. The dotnet command-line interface (CLI) tool has a command to initiate tests but doesn’t perform the tests on its own. Instead of forcing one test framework for all of .NET, the dotnet CLI tool looks for a test harness. The test harness usually comes from a package. Many test harnesses and frameworks are available, but in this chapter and beyond, we’ll use the xUnit framework for testing. Your company ...
Read now
Unlock full access