awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
xunit avatar

xunit/xunit

0
View on GitHub↗
4,535 stars·836 forks·C#·other·27 viewsxunit.net↗

Xunit

xunit is a unit testing framework for the .NET ecosystem designed to execute isolated code units and report failures across multiple platforms. It functions as a data-driven test runner and a native AOT test suite, capable of verifying compiled binaries and standalone executables after ahead-of-time compilation.

The framework utilizes build-time source generators for test discovery to define test cases without relying on runtime reflection. It also features an extensible reporting system where custom logic can be linked into test assemblies to output results in specialized formats.

The project provides capabilities for automated test execution via a command line interface, allowing test projects to run as self-contained binaries. It supports data-driven testing by running single test methods against multiple input datasets to verify behavior across various scenarios.

Features

  • Unit Testing - Executes isolated pieces of code and reports failures to verify expected behavior across multiple platforms.
  • Command-Line Test Runners - Provides a terminal interface to execute test projects, automate workflows, and run projects in parallel.
  • Automated Test Execution - Runs test projects through a command line interface to integrate with build pipelines and automate quality checks.
  • AOT Binary Testing - Validates that compiled binaries and stand-alone executables work correctly after ahead-of-time compilation.
  • AOT Binary Verification - Verifies compiled binaries and standalone executables to ensure code functions correctly after ahead-of-time compilation.
  • AOT-Compatible Runtimes - Provides an execution engine that works with ahead-of-time compiled binaries by avoiding dynamic assembly loading.
  • .NET Testing Ecosystem - Provides a framework for verifying the behavior of small pieces of code in isolation within the .NET ecosystem.
  • Build-Time Test Discovery - Uses build-time source generators to identify test cases and attributes instead of relying on runtime reflection.
  • Data-Driven Testing - Verifies behavior across various scenarios by running a single test method multiple times with different input data.
  • Source-Generated Discovery - Uses build-time source generators to identify test cases and configuration attributes without relying on runtime reflection.
  • Test Manifest Generators - Uses build-time source generators to define test cases and configuration attributes without runtime reflection.
  • Native AOT Test Suites - Implements a test suite capable of verifying compiled binaries and standalone executables after ahead-of-time compilation.
  • Unit Testing Frameworks - A testing framework for the .NET ecosystem that executes isolated code units and reports failures.
  • Standalone Binaries - Allows test projects to be run as self-contained binaries for process isolation and simplified dependency resolution.
  • Attribute-Driven Configurations - Maps metadata attributes to test execution logic to define behaviors and constraints for individual test methods.
  • Test Environment Isolation - Runs test projects as standalone binaries to ensure an isolated environment and prevent dependency interference.
  • Custom Test Reporters - Provides pluggable interfaces to link specialized reporting logic and select output formats via command line switches.
  • Test Report Exporters - Links external reporting logic into the test assembly to export results in specialized formats via command line.
  • Property-Based Testing - Executes single test methods multiple times by injecting varied sets of input data to verify behavior.
  • Testing - Unit testing tool.
  • Testing Frameworks - Community-focused unit testing tool.

Star history

Star history chart for xunit/xunitStar history chart for xunit/xunit

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Xunit

Similar open-source projects, ranked by how many features they share with Xunit.
  • thomhurst/tunitthomhurst avatar

    thomhurst/TUnit

    3,744View on GitHub↗

    TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source generation for test discovery and mock creation, ensuring compatibility with Native AOT and IL trimming by eliminating the need for runtime reflection and proxies. The framework provides specialized capabilities for integration testing, including the management of distributed application lifecycles, isolated database schemas, and the correlation of telemetry and logs across process boundaries via OTLP. It also includes an HTTP testing utility to intercept network exchanges and mock AP

    C#csharpdotnettest
    View on GitHub↗3,744
  • jquery/qunitjquery avatar

    jquery/qunit

    4,035View on GitHub↗

    QUnit is a JavaScript unit testing framework designed to verify code behavior using assertions and lifecycle hooks across browsers and server runtimes. It functions as a browser-based test runner with an HTML interface for reporting results, an asynchronous test orchestrator for coordinating callbacks, and a utility for isolating and verifying document object model changes. The framework distinguishes itself through specialized DOM testing capabilities, allowing for the isolation and resetting of the document object model between tests to ensure atomicity. It also features a system for detect

    JavaScript
    View on GitHub↗4,035
  • googlesamples/android-testing-templatesgooglesamples avatar

    googlesamples/android-testing-templates

    1,955View on GitHub↗

    This repository provides a collection of reference implementations and patterns for testing Android applications. It serves as a guide for developers to integrate standard testing libraries and frameworks into their projects, covering the full spectrum of verification from local business logic to complex interface interactions. The project distinguishes itself by demonstrating how to configure and execute tests across diverse environments, including local virtual machines and physical devices or emulators. It provides specific patterns for validating inter-application communication, automatin

    Java
    View on GitHub↗1,955
  • facebook/jestfacebook avatar

    facebook/jest

    45,448View on GitHub↗

    Jest is a JavaScript testing framework that integrates a test runner, an assertion library, and a snapshot testing tool. Its primary purpose is to provide a comprehensive environment for writing and running automated JavaScript tests to verify software correctness. The framework is distinguished by its snapshot testing capabilities, which capture the state of large objects or rendered components to detect regressions over time. It also features a reactive watch mode that monitors file changes and automatically executes only the tests related to modified code. The project covers a broad range

    TypeScript
    View on GitHub↗45,448
See all 30 alternatives to Xunit→

Frequently asked questions

What does xunit/xunit do?

xunit is a unit testing framework for the .NET ecosystem designed to execute isolated code units and report failures across multiple platforms. It functions as a data-driven test runner and a native AOT test suite, capable of verifying compiled binaries and standalone executables after ahead-of-time compilation.

What are the main features of xunit/xunit?

The main features of xunit/xunit are: Unit Testing, Command-Line Test Runners, Automated Test Execution, AOT Binary Testing, AOT Binary Verification, AOT-Compatible Runtimes, .NET Testing Ecosystem, Build-Time Test Discovery.

What are some open-source alternatives to xunit/xunit?

Open-source alternatives to xunit/xunit include: thomhurst/tunit — TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source… jquery/qunit — QUnit is a JavaScript unit testing framework designed to verify code behavior using assertions and lifecycle hooks… googlesamples/android-testing-templates — This repository provides a collection of reference implementations and patterns for testing Android applications. It… junit-team/junit4 — JUnit 4 is a unit testing framework for Java that provides a structured approach to writing and running automated… facebook/jest — Jest is a JavaScript testing framework that integrates a test runner, an assertion library, and a snapshot testing… mozilla-firefox/firefox — Firefox is a cross-platform web browser engine designed to render web content, execute JavaScript, and manage secure…