encyclopegia.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.[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

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1215784813 · 0.5 · snapshot enwiki-001215784813

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.