Boost.Test
The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17) (by boostorg)
CppUTest
CppUTest unit testing and mocking framework for C/C++ (by cpputest)
Boost.Test | CppUTest | |
---|---|---|
- | 1 | |
184 | 1,391 | |
0.5% | 1.2% | |
5.8 | 7.4 | |
3 days ago | 4 days ago | |
C++ | C++ | |
gtkbook License | 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.
Boost.Test
Posts with mentions or reviews of Boost.Test.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning Boost.Test 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 Boost.Test 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)
CppUnit - C++ port of JUnit
Google Mock
fff - A testing micro framework for creating function test doubles
benchmark - A microbenchmark support library
Unity Test API - Simple Unit Testing for C
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework