using Xunit;
public class MyTests
{
[Fact]
public void MyTest()
{
Assert.Equal(4, 2 + 2);
}
}
C:\MyTests\bin\Debug>xunit.console MyTestLibrary.dll
xUnit.net console test runner (64-bit .NET 2.0.50727.0)
Copyright (C) 2007-11 Microsoft Corporation.
xunit.dll: Version 1.9.1.0
Test assembly: C:\MyTests\bin\Debug\MyTestLibrary.dll
1 total, 0 failed, 0 skipped, took 0.302 seconds