awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
xunit avatar

xunit/xunit

0
View on GitHub↗
4,535 星标·836 分支·C#·other·11 次浏览xunit.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.
  • 测试框架 - Community-focused unit testing tool.

Star 历史

xunit/xunit 的 Star 历史图表xunit/xunit 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Xunit 的开源替代方案

相似的开源项目,按与 Xunit 的功能重合度排序。
  • thomhurst/tunitthomhurst 的头像

    thomhurst/TUnit

    3,744在 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
    在 GitHub 上查看↗3,744
  • jquery/qunitjquery 的头像

    jquery/qunit

    4,035在 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
    在 GitHub 上查看↗4,035
  • googlesamples/android-testing-templatesgooglesamples 的头像

    googlesamples/android-testing-templates

    1,955在 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
    在 GitHub 上查看↗1,955
  • facebook/jestfacebook 的头像

    facebook/jest

    45,448在 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
    在 GitHub 上查看↗45,448
查看 Xunit 的所有 30 个替代方案→

常见问题解答

xunit/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.

xunit/xunit 的主要功能有哪些?

xunit/xunit 的主要功能包括: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。

xunit/xunit 有哪些开源替代品?

xunit/xunit 的开源替代品包括: 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…