|1 day ago||3 days ago|
|Boost Software License 1.0||Boost Software License 1.0|
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.
[C++20] New way of meta-programming?
5 projects | reddit.com/r/cpp | 5 Sep 2022
https://github.com/boost-ext/ut (for better user interface when defining tests without macros)
Getting started with Boost in 2022
5 projects | reddit.com/r/cpp | 14 Apr 2022
https://github.com/boost-ext/ut from Kris Jusiak is worth checking
How to unit test
8 projects | reddit.com/r/cpp_questions | 9 Feb 2022
Calculate Your Code Performance
5 projects | dev.to | 23 Oct 2021
C++: C++ has quite a number of benchmarking libraries some of the recent ones involving C++ 20's flexibility. The most notable being Google Bench and UT. C does not have many specific benchmarking libraries, but you can easily integrate C code with C++ benchmarking libraries in order to test the performance of your C code.
6 projects | dev.to | 19 Oct 2021
Another C++ unit testing framework without macros
6 projects | reddit.com/r/cpp | 16 Apr 2021
By Boost.UI you mean this?6 projects | reddit.com/r/cpp | 16 Apr 2021
In Boost.UT there is a number of different styles to add a parametrized test case. All of them are pretty cryptic bue to heavy isage of oeverloaded operators of custom "non-public" classes. Except for the for-loop method, in all other methods the list of parameter values goes after the test procedure definition. I find this inconvenient, as I want to see list of parameter value next to the test name. This is what I used to from the times I was coding a lot of unit tests in C#.
Tester votre code autrement avec ApprovalTests
2 projects | dev.to | 22 Jul 2022
Hey Rustaceans! Got a question? Ask here! (27/2022)!
14 projects | reddit.com/r/rust | 4 Jul 2022
Is there a Catch-like test framework which is tokio aware? I've seen some implementations, but they use #[test] instead of #[tokio::test].
What's next after learncpp.com?
6 projects | reddit.com/r/cpp | 1 Jul 2022
It's also very useful to get to grips with using some popular libraries. Some might be ones that you'll find yourself using everywhere (e.g. fmt, spdlog, catch2), and some that have more specific usage, but are good to try out and explore what C++ can do in a ridiculously easy-to-use manner (e.g. crow, Dear ImGui). Make some toy projects that use some of these and you'll learn a lot.
MicroService Framework in C++
2 projects | dev.to | 24 May 2022
$ git clone https://github.com/catchorg/Catch2.git $ cd Catch2 $ cmake -Bbuild -H. -DBUILD_TESTING=OFF $ sudo cmake --build build/ --target install
How to make my Boost unit testing work?
3 projects | reddit.com/r/cpp_questions | 20 May 2022
Swap Boost Test for something better and more modern. The current industry standard is Catch2 and google test. There are much better documentation available on how to use those than the ancient and dying boost stuff.
Testing framework Catch2 3.0 final released
3 projects | reddit.com/r/cpp | 17 May 2022
I cannot for the life of me figure out how to get libraries working
2 projects | reddit.com/r/cpp | 6 Apr 2022
Conan or Vcpkg are probably the best way forward to begin with. Seriously, stop what you are doing and go try those out on something simpler first, e.g. A hello world using fmtfmt, or a unit test using catch2.
C++17 python like print function
4 projects | reddit.com/r/embedded | 9 Mar 2022
For stuff like this which is very easy to test (very predefined input vs output), I highly suggest using some testing framework. Catch2 is great, but there is also doctest and good ole googletest. If you do this, it would also be a great intro to CI, where you do some plumbing on github or gitlab where every commit causes a build to happen on their servers and run through the unit tests, and if it passes it gets merged into master.
Running unit tests on a C project (like an OS kernel) that redefines built-in functions.
4 projects | reddit.com/r/cmake | 1 Mar 2022
The following questions that I have are platform and testing framework agnostic but in the interest of being precise, I have been trying to set up CMake so that it is able to run a simple "Catch2" unit test. I'm use CLion as my test runner to make life easy and everything is running on Ubuntu 18.04.
From Julia to C++ Struggle
5 projects | reddit.com/r/Julia | 9 Feb 2022
Again, there is no standard testing suite so you would have to pick a third party library (that preferably integrates with your build system). Popular choices are the google test framework and catch2
What are some alternatives?
Google Test - GoogleTest - Google Testing and Mocking Framework
doctest - The fastest feature-rich C++11/14/17/20 single-header testing framework
Boost.Test - The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)
CppUnit - C++ port of JUnit
CppUTest - CppUTest unit testing and mocking framework for C/C++
benchmark - A microbenchmark support library
Unity Test API - Simple Unit Testing for C
UnitTest++ - A lightweight unit testing framework for C++
fff - A testing micro framework for creating function test doubles
spdlog - Fast C++ logging library.