Unit Testing/xUnit.net/Install xUnit
< Unit Testing < xUnit.net
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.cstoMultiplyTest.cs.
- At a command prompt or terminal window in the multiply folder, run the following command: