About 945,000 results
Open links in new tab
  1. Write unit tests for C/C++ - Visual Studio (Windows)

    Jun 4, 2025 · Write and run C++ unit tests with the Test Explorer in Visual Studio by using CTest, Boost.Test, Google Test, and other testing frameworks.

  2. Embedded C/C++ Unit Testing Basics - GeeksforGeeks

    Jan 6, 2025 · A unit test is a test that covers a single component or small piece of functionality in an application. In a framework-less unit test, there is no predefined structure or set of rules to follow.

  3. Cpputest

    CppUTest is a C /C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems but it …

  4. Mastering C++ Unit Tests: A Quick Guide - cppscripts.com

    In this article, we explored the fundamentals of C++ unit tests, covering everything from the basic concepts to more advanced techniques like mocking, stubbing, and parameterized tests.

  5. C++ Unit Testing: A Complete Guide with Examples and Best ...

    Unit testing is a crucial aspect of modern software development, ensuring the reliability and correctness of your C++ codebase. This article will cover everything you need about C++ unit testing, from the …

  6. CppUnit - The Unit Testing Library - SourceForge

    Tests in CppUnit can be run automatically. They are easy to set up and once you have written them, they are always there to help you keep confidence in the quality of your code. To make a simple test, …

  7. Comparison of C++ unit test frameworks - Stack Overflow

    Decomposes standard C++ expressions into LHS and RHS (so you don't need a whole family of assert macros). It also has Objective-C bindings. The project is hosted on Github. doctest is my …