e01.org

XUnit.net

xUnit.net is a free and open-source unit testing tool for the .NET Framework, written by the original author of NUnit. The software can also be used with .NET Core and Mono. It is licensed under Apache License 2.0, and the source code is available on GitHub. xUnit.net works with Xamarin, ReSharper, CodeRush, and TestDriven.NET. It is authored by James Newkirk and Brad Wilson. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

xUnit.net is a free and open-source unit testing tool for the .NET Framework, written by the original author of NUnit. The software can also be used with .NET Core and Mono. It is licensed under Apache License 2.0, and the source code is available on GitHub. xUnit.net works with Xamarin, ReSharper, CodeRush, and TestDriven.NET. It is authored by James Newkirk and Brad Wilson. using Xunit; public class MyTests { [Fact] public void MyTest() { Assert.Equal(4, 2 + 2); } } After you compile the test, run it in your console: 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 ==Further reading==

References

  1. Releases · xunit/xunit . GitHub . · 1711494000.0
  2. How to Test ASP.NET Core Web API . InfoQ . · 1711494000.0
  3. About xUnit.net . GitHub . 4 November 2021. · 1711494000.0
  4. How to work with xUnit.Net framework . · 1711494000.0
  5. Leaving Microsoft . Brad Wilson . · 1711494000.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"XUnit.net". 1711504060. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1215784813

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·