CppUnit
C++ port of JUnit (by EddyPronk)
CppUTest
CppUTest unit testing and mocking framework for C/C++ (by cpputest)
CppUnit | CppUTest | |
---|---|---|
- | 1 | |
14 | 1,387 | |
- | 0.9% | |
0.0 | 7.4 | |
about 13 years ago | 8 days ago | |
Shell | C++ | |
GNU Lesser General Public License v3.0 only | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CppUnit
Posts with mentions or reviews of CppUnit.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning CppUnit yet.
Tracking mentions began in Dec 2020.
CppUTest
Posts with mentions or reviews of CppUTest.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-09-24.
-
Tool Containerization Best Practices For Embedded Software Development
# Use the Debian base image as our starting point. FROM debian:bullseye # Install the required packages. RUN apt update -y && \ apt -y install g++=4:10.2.1-1 \ cmake=3.18.4-2+deb11u1 \ libtool=2.4.6-15 \ autoconf=2.69-14 \ git=1:2.30.2-1+deb11u2 \ gdb=10.1-1.7 \ wget=1.21-1+deb11u1 \ bzip2=1.0.8-4 \ make=4.3-4.1 \ stlink-tools=1.6.1+ds-3 # Clone and install CppUTest RUN git clone https://github.com/cpputest/cpputest WORKDIR /cpputest RUN autoreconf . -i && \ ./configure && \ make tdd ENV CPPUTEST_HOME=/cpputest # Set the working directory for your project WORKDIR /work # Download and set up the GNU Arm toolchain RUN wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 && \ tar -xjf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 && \ rm gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 && \ mv gcc-arm-none-eabi-10.3-2021.10 /opt/gcc-arm ENV PATH="/opt/gcc-arm/bin:${PATH}"
What are some alternatives?
When comparing CppUnit and CppUTest you can also consider the following projects:
Google Test - GoogleTest - Google Testing and Mocking Framework
Catch - A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
Unity Test API - Simple Unit Testing for C
Google Mock
Boost.Test - The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)
fff - A testing micro framework for creating function test doubles
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
minUnit - Minimal unit testing framework for C