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

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

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

google/googletest

0
View on GitHub↗
38,713 نجوم·10,791 تفرعات·C++·BSD-3-Clause·14 مشاهداتgoogle.github.io/googletest↗

Googletest

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

يتميز إطار العمل بمكتبة كائنات وهمية (mock object) متطورة تتيح محاكاة المكونات وفرض متطلبات تفاعل صارمة. من خلال اعتراض استدعاءات الدوال الافتراضية، فإنه يسمح بالتحقق الدقيق من أنماط الوسائط، وعدد الاستدعاءات، وسلوكيات الإرجاع. يتم استكمال هذا النهج القائم على التوقعات بلغة تأكيد تعريفية ومحرك قائم على البيانات، والتي تدعم معاً التحقق المعقد من هياكل البيانات، ومحتويات الحاويات، ونتائج الدوال عبر تكوينات إدخال متنوعة.

بعيداً عن التحقق الأساسي، يوفر المشروع مراقبة واسعة لدورة الحياة وواجهات مستمع الأحداث، مما يتيح التكامل مع أنظمة إعداد التقارير وتسجيل الأحداث الخارجية. يتضمن دعماً قوياً لإنشاء الاختبارات بمعاملات، وإضافات وهمية مخصصة، والتحقق من إنهاء العملية، مما يضمن قدرة المطورين على التعامل مع سيناريوهات اختبار متنوعة ومتطلبات تحقق فريدة.

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

Features

  • Testing Frameworks - Provides assertion macros, test fixtures, and execution runners to verify code logic and identify regressions.
  • Test Configuration - Groups individual test functions using automated registration mechanisms to provide a clear overview of status.
  • Test Runners - Provides command-line control over test filtering, execution order, and output formatting.
  • Mocking Frameworks - Intercepts calls to virtual functions by overriding interface methods and routing execution through an expectation-matching engine.
  • Test Execution Management - Orchestrates the execution of registered tests and provides final status reporting via exit codes.
  • Test Infrastructure - Provides mechanisms to register global setup and teardown logic for consistent test environments.
  • Input Validation - Verifies function inputs by checking for exact values or custom validation logic during test execution.
  • Embedded Software Libraries - Comprehensive C++ unit testing framework.
  • Embedded Utility Libraries - Comprehensive C++ testing and mocking framework.
  • Testing and Benchmarking - Library for writing C++ tests and mocks.
  • Testing and Debugging - Library for writing mock classes and unit tests.
  • أطر عمل الاختبار - Provides a C++ test framework.
  • Test Data Management - Shares common data and setup logic across tests to ensure predictable and isolated conditions.
  • Test Utilities & Assertions - Evaluates boolean conditions and captures diagnostic information by streaming failure details into a centralized reporting system.
  • Test Reporters - A hook-based interface that monitors test execution progress and reports results to external systems or custom logging outputs.
  • Test Isolation - Creating simulated components and defining expected behaviors to isolate specific code units during testing without relying on real dependencies.

سجل النجوم

مخطط تاريخ النجوم لـ google/googletestمخطط تاريخ النجوم لـ google/googletest

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

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

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

Start searching with AI

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

ما هي وظيفة google/googletest؟

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

ما هي الميزات الرئيسية لـ google/googletest؟

الميزات الرئيسية لـ google/googletest هي: Testing Frameworks, Test Configuration, Test Runners, Mocking Frameworks, Test Execution Management, Test Infrastructure, Input Validation, Embedded Software Libraries.

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

تشمل البدائل مفتوحة المصدر لـ google/googletest: seleniumhq/selenium — Selenium is a comprehensive browser automation framework that provides a standardized interface for controlling web… goldbergyoni/javascript-testing-best-practices — This project is a comprehensive knowledge base and educational resource for JavaScript developers, focused on… stretchr/testify — Testify is a comprehensive testing toolkit for Go that provides a suite of assertion libraries and mocking frameworks… vitest-dev/vitest — Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an… encode/django-rest-framework — Django REST Framework is a toolkit for building standards-compliant web services that map complex data models to… nextest-rs/nextest — nextest is a high-performance test execution framework and Rust test runner designed to manage parallelism, retries,…

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

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

    SeleniumHQ/selenium

    34,203عرض على GitHub↗

    Selenium is a comprehensive browser automation framework that provides a standardized interface for controlling web browsers to perform automated tasks, user interactions, and data extraction. It functions as a cross-browser testing tool, enabling developers to execute identical automation scripts across various browser engines and operating systems to ensure consistent application behavior. By implementing the WebDriver protocol, it maps high-level automation commands to browser-specific drivers using a standardized HTTP-based wire protocol. The project distinguishes itself through its distr

    Javadotnetjavajavascript
    عرض على GitHub↗34,203
  • goldbergyoni/javascript-testing-best-practicesالصورة الرمزية لـ goldbergyoni

    goldbergyoni/javascript-testing-best-practices

    24,589عرض على GitHub↗

    This project is a comprehensive knowledge base and educational resource for JavaScript developers, focused on establishing industry-standard methodologies for automated software testing. It provides a structured collection of design patterns and actionable guidelines designed to improve code reliability, maintainability, and overall software quality across the development lifecycle. The repository distinguishes itself by offering a granular, pattern-based approach to testing that spans unit, integration, and end-to-end verification. It emphasizes specific architectural strategies such as comp

    JavaScriptangularchaici
    عرض على GitHub↗24,589
stretchr/testifyالصورة الرمزية لـ stretchr

stretchr/testify

25,861عرض على GitHub↗

Testify is a comprehensive testing toolkit for Go that provides a suite of assertion libraries and mocking frameworks to validate code behavior. It enables developers to write automated tests by comparing actual results against expected outcomes, ensuring that functional requirements are met throughout the development process. The project distinguishes itself through its flexible failure propagation, which allows tests to either halt execution immediately upon a failed requirement or return boolean results for conditional logic. It includes deep-equality object comparison and JSON normalizati

Goassertionsgogolang
عرض على GitHub↗25,861
  • 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
  • عرض جميع البدائل الـ 30 لـ Googletest→