Boost.Test
The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17) (by boostorg)
utest.h
🧪 single header unit testing framework for C and C++ (by sheredom)
Our great sponsors
Boost.Test | utest.h | |
---|---|---|
0 | 4 | |
162 | 753 | |
2.5% | - | |
6.4 | 7.1 | |
15 days ago | 7 days ago | |
C++ | C++ | |
Boost Software License 1.0 | The Unlicense |
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.
utest.h
Posts with mentions or reviews of utest.h.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-29.
-
GitHub - Snaipe/Criterion: A cross-platform C and C++ unit testing framework for the 21st century
Doesn't really have CMake integration, which is a big downer. You could try utest.h, which is a pretty minimal (as the name suggests), but featureful testing library. It still needs you to declare the main, but is that really such a problem?
-
Testing in C
I use utest. I do not know how popular or not it is, but it is a simple single-file include with a liberal license and it seems to do what it says it does. Many options I looked at just seemed overly complex and I do not like to drag in piles of heavy dependencies in every thing I code.
the header-only https://github.com/sheredom/utest.h might be worth a shot if you trying to keep things compact.
-
Open Source C
Sprinkle your console apps with UTEST test's.
What are some alternatives?
When comparing Boost.Test and utest.h 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)
Google Mock
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
CppUnit - C++ port of JUnit
ut - C++20 μ(micro)/Unit Testing Framework
CppUTest - CppUTest unit testing and mocking framework for C/C++
benchmark - A microbenchmark support library
Unity Test API - Simple Unit Testing for C
fff - A testing micro framework for creating function test doubles