Getting Started
The unit testing labs will walk you through some key concepts around unit testing and some of the tools you can use for this.
Estimated time to complete: 1 hour
.NET Core SDK¶
.NET Core is a cross platform, open-source implementation of the .NET Framework. This enables to developers to build applications for multiple systems as well as deploy different applications with different .NET versions per applications.
For more information about .NET Core, check out the documentation.
Installation¶
Note: Windows users can use the Powershell Command-line, Linux users should use the terminal.
-
Ensure Visual Studio is installed. 2019 is the latest version at time of creation of this lab.
-
Visual Studio 2019 comes with .NET Core 3.1 installed and that should be good for the lab.
-
From the Developer Powershell tab on Visual Studio, run
dotnet --version
to verify .net version.
-
If you don't have Visual Studio and would like to use the Git Bash CLI tool, then click this link Git Bash to download it.
-
From the command-line, run
dotnet --version
to verify installation was successful.