|1 day ago||16 days ago|
|Boost Software License 1.0||BSD 3-clause "New" or "Revised" License|
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#.
Setting up an Elm project in 2022
11 projects | dev.to | 19 Dec 2021
The de-facto standard for testing an Elm application is elm-test. However, as noted in the README:
Porting Elm to WebAssembly
4 projects | dev.to | 28 Sep 2021
Once all that handwritten C code was solid, I needed to make sure the C generated from Elm was working properly. I found the source for the core library's unit tests and decided to port them into my project and add some of my own tests. You can run the tests in WebAssembly in your browser too. (Funnily enough, one of the biggest challenges was getting the Elm Test framework itself to run! The framework is more complex than the tests themselves. I still need to come back to the fuzzer tests!)
Causing Bedlam in Elm
7 projects | dev.to | 28 Jul 2021
Lesson Learned: Elm has built in recursion improvements for a variety of positive reasons, and you should think in recursion to solve looping problems. Use property/fuzz tests and bounds checking with early exit to prevent this from locking up your UI (i.e if > 9000, omg abort). If you’re algorithm is reasonable, but the data set is just gigantic, offload to a server instead for more horsepower. Or Workers if you don’t have server chops, can’t upload the large data, or don’t trust your server devs. (“But Doc, I’m the server dev!” Good joke. Ever̸y̴b̸ody laugh. Roll on s̵͓̆nâ̶̱re drum. Curtains.)
What are some alternatives?
Boost.Test - The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)
Google Test - GoogleTest - Google Testing and Mocking Framework
FakeIt - C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
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)
CppUTest - CppUTest unit testing and mocking framework for C/C++
doctest - The fastest feature-rich C++11/14/17/20 single-header testing framework
GUnit - GUnit - Google.Test/Google.Mock/Cucumber on steroids
KmTest - Kernel-mode C++ unit testing framework in BDD-style
benchmark - A microbenchmark support library
test - A library for writing unit tests in Dart.