awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
onqtam avatar

onqtam/doctest

0
View on GitHub↗
6,768 نجوم·691 تفرعات·C++·MIT·10 مشاهداتbit.ly/doctest-docs↗

Doctest

doctest هو إطار عمل لاختبار الوحدات ومكتبة تأكيدات لـ C++ يتم توفيرها كمكتبة ذات رأس واحد (single-header). يوفر مشغل اختبار مع واجهة سطر أوامر لتنفيذ الاختبارات، وتصفية مجموعات الاختبار، وإنشاء تقارير التنفيذ.

يدعم إطار العمل اختبار الوحدات داخل الكود ويسمح بالإزالة الكاملة لمنطق الاختبار من الملفات الثنائية المجمعة عبر تجريد المعالج المسبق للقضاء على عبء الأداء في بيئات الإنتاج. كما يتيح مشاركة سجل الاختبار عبر الملفات الثنائية، مما يسمح لملف تنفيذي واحد باستخدام مشغل الاختبار الخاص بآخر.

تشمل القدرات الاختبار بمعاملات، والتحقق من التأكيدات الآمنة للخيوط (thread-safe) للتحقق من البرمجيات المتزامنة، وإعداد تقارير الاختبار الآلية لتحليل الانحدار. يستخدم تسجيل الاختبار التلقائي لجمع حالات الاختبار دون الحاجة إلى قوائم يدوية للدوال المراد تنفيذها.

Features

  • Unit Testing Frameworks - Provides a comprehensive framework for writing and executing isolated unit tests to verify C++ logic.
  • Thread-Safe Assertions - Implements thread-safe assertion verification to validate shared data consistency in concurrent software.
  • Testing Logic Stripping - Allows the complete removal of testing logic from compiled binaries via preprocessor stripping for production environments.
  • Production Logic Exclusion - Provides a mechanism to remove all testing logic from the compiled executable to eliminate production performance overhead.
  • Header-Only Libraries - Delivered as a single-header library to simplify integration and eliminate separate compilation steps.
  • Production Build Modes - Optimizes production builds by disabling development-only debugging and testing features.
  • Test Execution Controls - Provides controls for executing specific test suites and defining their behavior via the command line.
  • Assertion and Validation Utilities - Implements a system to define test conditions and assertions that report failures when expectations are not met.
  • Assertion Libraries - Ships a set of assertion macros to validate code conditions and verify invariants during test execution.
  • Test Execution Runners - Provides a command-line interface to manage the lifecycle, filtering, and execution of registered test suites.
  • Thread-Safe Assertion Recording - Implements internal locking mechanisms to safely record and report test failures occurring across multiple concurrent threads.
  • Static Registration - Implements static registration to collect test cases into registries at compile time using preprocessor macros.
  • Concurrent Assertion Validation - Enables checking conditions across multiple threads to ensure shared data remains consistent and safe.
  • Test Result Reporters - Generates detailed summaries of test execution results to analyze passed and failed cases.
  • Test Parameterization - Provides utilities to execute the same test logic across multiple sets of input data.
  • In-Source Testing - Allows the creation and execution of test cases and assertions directly within the C++ source files.
  • Regression Testing Suites - Supports executing parameterized test cases across multiple input sets to prevent software regressions.
  • Expression Decomposition - Employs C++ templates to decompose expressions into strings for detailed error reporting upon assertion failure.
  • Cross-Binary Registry Sharing - Enables cross-binary test registry sharing, allowing one executable to utilize the test runner of another.
  • Testing and Benchmarking - Lightweight single-header testing framework.
  • Testing and Debugging - Lightweight, feature-rich single-header testing framework.
  • أطر عمل الاختبار - Offers a fast, header-only C++ testing framework.

سجل النجوم

مخطط تاريخ النجوم لـ onqtam/doctestمخطط تاريخ النجوم لـ onqtam/doctest

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Doctest

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Doctest.
  • doctest/doctestالصورة الرمزية لـ doctest

    doctest/doctest

    6,765عرض على GitHub↗

    doctest is a lightweight C++ unit testing framework and assertion library. It provides a single-header implementation that eliminates complex build dependencies, allowing developers to write and execute test cases directly within their source code. The framework is distinguished by its focus on compile-time performance and binary overhead. It uses conditional compilation guards to strip all testing logic and metadata from production binaries. Additionally, it features hierarchical subcases that re-execute parent setup code to isolate different execution paths within a single test case. Its c

    C++c-plus-pluscppcpp11
    عرض على GitHub↗6,765
  • catchorg/catch2الصورة الرمزية لـ catchorg

    catchorg/Catch2

    20,198عرض على GitHub↗

    Catch2 is a comprehensive framework for C++ software validation, providing an environment for unit testing, integration verification, and performance analysis. It enables developers to define and execute automated test suites and micro-benchmarks directly within their applications. The framework is distinguished by its header-only distribution, which allows for integration into existing build systems without requiring complex external dependencies. It utilizes a hierarchical section-based execution model that supports behavior-driven testing, allowing for shared setup and teardown logic acros

    C++bddcppcpp14
    عرض على GitHub↗20,198
  • vitest-dev/vitestالصورة الرمزية لـ vitest-dev

    vitest-dev/vitest

    15,970عرض على GitHub↗

    Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an integrated environment that supports unit, integration, and browser-based testing, allowing developers to execute test suites natively without requiring separate build steps or complex configuration. The project distinguishes itself through a highly optimized execution model that leverages worker-thread isolation and on-demand module transformation to provide rapid feedback. It includes a comprehensive suite of mocking and spying utilities that allow for the interception of depen

    TypeScripttesttesting-toolsvite
    عرض على GitHub↗15,970
  • thomhurst/tunitالصورة الرمزية لـ thomhurst

    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
عرض جميع البدائل الـ 30 لـ Doctest→

الأسئلة الشائعة

ما هي وظيفة onqtam/doctest؟

doctest هو إطار عمل لاختبار الوحدات ومكتبة تأكيدات لـ C++ يتم توفيرها كمكتبة ذات رأس واحد (single-header). يوفر مشغل اختبار مع واجهة سطر أوامر لتنفيذ الاختبارات، وتصفية مجموعات الاختبار، وإنشاء تقارير التنفيذ.

ما هي الميزات الرئيسية لـ onqtam/doctest؟

الميزات الرئيسية لـ onqtam/doctest هي: Unit Testing Frameworks, Thread-Safe Assertions, Testing Logic Stripping, Production Logic Exclusion, Header-Only Libraries, Production Build Modes, Test Execution Controls, Assertion and Validation Utilities.

ما هي البدائل مفتوحة المصدر لـ onqtam/doctest؟

تشمل البدائل مفتوحة المصدر لـ onqtam/doctest: doctest/doctest — doctest is a lightweight C++ unit testing framework and assertion library. It provides a single-header implementation… catchorg/catch2 — Catch2 is a comprehensive framework for C++ software validation, providing an environment for unit testing,… vitest-dev/vitest — Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an… thomhurst/tunit — TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source… microsoft/playwright — Playwright is a comprehensive browser automation framework designed for end-to-end testing and web workflow… swiftlang/swift-testing — Swift Testing is a testing framework for the Swift programming language that provides a structured environment for…