XUnit.net
xUnit.net is a free and open-source unit testing tool for the .NET Framework, written by the original author of NUnit.[4] The software can also be used with .NET Core and Mono.[2] It is licensed under Apache License 2.0, and the source code is available on GitHub.[src] xUnit.net works with Xamarin, ReSharper, CodeRush, and TestDriven.NET.[3] It is authored by James Newkirk and Brad Wilson.[5]
xUnit.net is a free and open-source unit testing tool for the .NET Framework, written by the original author of NUnit.[4] The software can also be used with .NET Core and Mono.[2] It is licensed under Apache License 2.0, and the source code is available on GitHub.[src] xUnit.net works with Xamarin, ReSharper, CodeRush, and TestDriven.NET.[3] It is authored by James Newkirk and Brad Wilson.[5] 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.[2] 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==[src]
12 sentences · 12 cited inline · 5 references stored
References
- Releases · xunit/xunit . GitHub . · retrieved 2024-03-26 · rev 1215784813
Cite this reference
MLA "Releases · xunit/xunit . GitHub ." Releases · xunit/xunit. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813. Accessed 28 November 2026.
Chicago "Releases · xunit/xunit . GitHub ." Releases · xunit/xunit. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813.
APA Releases · xunit/xunit. (2024). Releases · xunit/xunit . GitHub . Retrieved November 28, 2026, from https://en.wikipedia.org/w/index.php?oldid=1215784813
- How to Test ASP.NET Core Web API . InfoQ . · retrieved 2024-03-26 · rev 1215784813
Cite this reference
MLA "How to Test ASP.NET Core Web API . InfoQ ." How to Test ASP. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813. Accessed 28 November 2026.
Chicago "How to Test ASP.NET Core Web API . InfoQ ." How to Test ASP. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813.
APA How to Test ASP. (2024). How to Test ASP.NET Core Web API . InfoQ . Retrieved November 28, 2026, from https://en.wikipedia.org/w/index.php?oldid=1215784813
- About xUnit.net . GitHub . 4 November 2021. · retrieved 2024-03-26 · rev 1215784813
Cite this reference
MLA "About xUnit.net . GitHub . 4 November 2021." About xUnit. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813. Accessed 28 November 2026.
Chicago "About xUnit.net . GitHub . 4 November 2021." About xUnit. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813.
APA About xUnit. (2024). About xUnit.net . GitHub . 4 November 2021. Retrieved November 28, 2026, from https://en.wikipedia.org/w/index.php?oldid=1215784813
- How to work with xUnit.Net framework . · retrieved 2024-03-26 · rev 1215784813
Cite this reference
MLA "How to work with xUnit.Net framework ." How to work with xUnit. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813. Accessed 28 November 2026.
Chicago "How to work with xUnit.Net framework ." How to work with xUnit. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813.
APA How to work with xUnit. (2024). How to work with xUnit.Net framework . Retrieved November 28, 2026, from https://en.wikipedia.org/w/index.php?oldid=1215784813
- Leaving Microsoft . Brad Wilson . · retrieved 2024-03-26 · rev 1215784813
Cite this reference
MLA "Leaving Microsoft . Brad Wilson ." Leaving Microsoft. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813. Accessed 28 November 2026.
Chicago "Leaving Microsoft . Brad Wilson ." Leaving Microsoft. 2024-03-26. https://en.wikipedia.org/w/index.php?oldid=1215784813.
APA Leaving Microsoft. (2024). Leaving Microsoft . Brad Wilson . Retrieved November 28, 2026, from https://en.wikipedia.org/w/index.php?oldid=1215784813
Cite this article
MLA
"XUnit.net." encyclopegia.org, 2024, https://encyclopegia.org/wiki/xunit-net. Accessed 28 November 2026.
Chicago
"XUnit.net." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/xunit-net.
APA
encyclopegia.org. (2024). XUnit.net. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/xunit-net
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON