Unit Testing/xUnit.net/Install xUnit
Appearance
Create a xUnit.net test environment.
- Download the .NET SDK.
- Create a new folder named
Multiply
. - Create the Multiply project.
- At a command prompt or terminal window in the multiply folder, run the following command:
dotnet new xunit
- Rename
UnitTest1.cs
toMultiplyTest.cs
.
- At a command prompt or terminal window in the multiply folder, run the following command: