Search⌘ K

Setting Up a Local Environment

Understand how to prepare your local machine by installing the .NET SDK and choosing between code editors like Visual Studio Code or IDEs such as Visual Studio and JetBrains Rider. This lesson guides you through setting up a development environment suitable for writing and executing automated tests with xUnit in .NET.

Before we develop a .NET application locally, we need to have access to the following:

  • A machine running the Windows, macOS, or Linux operating system.

  • The .NET SDK.

  • A code editor or an integrated development environment (IDE).

Because .NET SDK executes the test functionality, no additional steps are required to enable automated testing on a development machine besides installing an appropriate automation testing NuGet package, such as xUnit.

Installing the .NET SDK

The latest .NET SDK version can be found and installed on ...