awesome-repositories.com
ब्लॉग
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ThrowTheSwitch avatar

ThrowTheSwitch/Unity

0
View on GitHub↗
5,265 स्टार्स·1,115 फोर्क्स·C·MIT·4 व्यूज़ThrowTheSwitch.org↗

Unity

Unity is a lightweight unit testing framework for C, providing the assertion library, test runner, and reporting mechanisms required to verify code correctness. It functions as core testing infrastructure for organizing and executing unit tests in C environments.

The framework is designed for system-level and embedded software validation, with specific capabilities for verifying firmware and hardware drivers. It focuses on memory integrity and pointer validity, allowing for the validation of pointer states and the inspection of raw memory blocks.

The toolset covers a broad range of comparison types, including numerical verification for integers, bit patterns, and floating-point values. It also provides utilities for validating null-terminated strings, array contents, and boolean logic, while supporting custom failure messages to provide context during debugging.

Features

  • C++ Unit Testing - Provides a lightweight framework for writing and running unit tests for C functions.
  • Assertion Macros - Uses assertion macros to capture file and line metadata during test failures.
  • C Assertion Libraries - Ships a collection of macros for comparing integers, strings, and memory blocks with descriptive failure messages.
  • Embedded Software Validation - Verifies the correctness of firmware and hardware drivers by testing memory blocks and bit patterns.
  • Embedded Test Runners - Provides a minimal test runner that can be integrated into C binaries to execute unit tests.
  • Unit Testing Frameworks - Provides a lightweight library for verifying C code correctness through assertion macros and failure reports.
  • Data Comparison - Performs raw byte-by-byte comparisons of memory segments for non-convertible data types.
  • Epsilon-Based Type Comparators - Provides epsilon-based comparisons to handle floating-point precision errors during test assertions.
  • Memory Integrity Testing - Checks for null pointers and compares raw memory segments to ensure data integrity.
  • Bit Status Checkers - Checks if specific bits or masked ranges in an integer are set to verify hardware flags.
  • Null Value Validation - Verifies whether a memory pointer is null or non-null to ensure reference validity.
  • Array Content Verifications - Compares multiple array elements against another array or a single expected value.
  • Binary Memory Comparisons - Performs raw binary equality checks between memory blocks to validate complex data structures.
  • Bit Pattern Verifications - Provides macros to verify the state of hardware flags or packed integers using bitmask-based inspections.
  • Conditional Logic Evaluation - Evaluates boolean conditions and marks tests as failures if results differ from expected truth values.
  • Boolean Logic Assertions - Implements logic to evaluate expressions and trigger test failures when actual boolean results deviate from expectations.
  • Floating Point Comparisons - Provides epsilon-based floating point comparisons to verify numerical correctness in unit tests.
  • Assertion Message Customizers - Allows users to append descriptive context to assertion failures for improved debugging.
  • Integer Comparisons - Provides assertion macros to check equality and threshold requirements for integer values.
  • Null-Terminated String Verifications - Compares character sequences by iterating through memory until a null terminator or length limit is reached.
  • String Comparisons - Verifies that null-terminated strings are identical or match for a specific character count.
  • बिल्ड सिस्टम - A simple unit testing framework for C.
  • Embedded Software Libraries - Lightweight unit testing framework for embedded systems.
  • Embedded Utility Libraries - Lightweight unit testing framework for embedded systems.
  • Testing and Debugging - Simple unit testing for C.

स्टार हिस्ट्री

throwtheswitch/unity के लिए स्टार हिस्ट्री चार्टthrowtheswitch/unity के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

Unity के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Unity के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • thomhurst/tunitthomhurst का अवतार

    thomhurst/TUnit

    3,744GitHub पर देखें↗

    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
  • doctest/doctestdoctest का अवतार

    doctest/doctest

    6,765GitHub पर देखें↗

    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
  • google/googletestgoogle का अवतार

    google/googletest

    38,713GitHub पर देखें↗

    This project is a comprehensive C++ unit testing framework designed to verify code logic and identify regressions through a suite of assertion macros, test fixtures, and execution runners. It automates the discovery and registration of test cases during static initialization, allowing developers to define isolated test environments that ensure repeatable and predictable conditions for every execution. The framework distinguishes itself through a sophisticated mock object library that enables the simulation of components and the enforcement of strict interaction requirements. By intercepting v

    C++
    GitHub पर देखें↗38,713
  • protobuf-c/protobuf-cprotobuf-c का अवतार

    protobuf-c/protobuf-c

    2,973GitHub पर देखें↗

    Protocol Buffers implementation in C

    C++
    GitHub पर देखें↗2,973
Unity के सभी 30 विकल्प देखें→

अक्सर पूछे जाने वाले प्रश्न

throwtheswitch/unity क्या करता है?

Unity is a lightweight unit testing framework for C, providing the assertion library, test runner, and reporting mechanisms required to verify code correctness. It functions as core testing infrastructure for organizing and executing unit tests in C environments.

throwtheswitch/unity की मुख्य विशेषताएं क्या हैं?

throwtheswitch/unity की मुख्य विशेषताएं हैं: C++ Unit Testing, Assertion Macros, C Assertion Libraries, Embedded Software Validation, Embedded Test Runners, Unit Testing Frameworks, Data Comparison, Epsilon-Based Type Comparators।

throwtheswitch/unity के कुछ ओपन-सोर्स विकल्प क्या हैं?

throwtheswitch/unity के ओपन-सोर्स विकल्पों में शामिल हैं: doctest/doctest — doctest is a lightweight C++ unit testing framework and assertion library. It provides a single-header implementation… thomhurst/tunit — TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source… google/googletest — This project is a comprehensive C++ unit testing framework designed to verify code logic and identify regressions… protobuf-c/protobuf-c — Protocol Buffers implementation in C. philsquared/catch — Catch is a C++ testing toolset providing frameworks for unit testing, behavior-driven development, and… onqtam/doctest — doctest is a unit testing framework and assertion library for C++ delivered as a single-header library. It provides a…