Dev tools · September 21, 2016
Doctest – the lightest C++ testing framework – version 1.1 released
https://github.com/onqtam/doctest version 1.1 brings the following major changes: - HUGE improvements in compile time of asserts - 70-95% faster than the original one! https://github.com/onqtam/doctest/blob/master/doc/markdown/benchmarks.md#cost-of-an-assertion-macro - wrote a FAQ - and the much requested differences with Catch section - https://github.com/onqtam/doctest/blob/master/doc/markdown/faq.md#how-is-doctest-different-from-catch - MANY minor fixes - it didn't compile when…
What it does
In the maker’s words, at launch
https://github.com/onqtam/doctest version 1.1 brings the following major changes: - HUGE improvements in compile time of asserts - 70-95% faster than the original one! https://github.com/onqtam/doctest/blob/master/doc/markdown/benchmarks.md#cost-of-an-assertion-macro - wrote a FAQ - and the much requested differences with Catch section - https://github.com/onqtam/doctest/blob/master/doc/markdown/faq.md#how-is-doctest-different-from-catch - MANY minor fixes - it didn't compile when using nullptr in asserts, etc. - see the changelog - https://github.com/onqtam/doctest/blob/master/CHANGELOG.md#110-2016-09-21 - improved documentation - solved a very common problem of testing frameworks with self-registering tests inside static libraries - non-intrusive in pure CMake without any source code modification - see here - https://github.com/onqtam/doctest/blob/master/doc/markdown/faq.md#why-are-my-tests-in-a-static-library-not-getting-registered - added code coverage of the library The framework is in a very stable condition but there are still a lot of features in the roadmap - https://github.com/onqtam/doctest/blob/master/doc/markdown/roadmap.md. I truly believe this framework can become the preferred choice for testing in C++ - the foundations are solid and pure and I believe there is nothing else quite like it. The project is in need of sponsors and publicity! I don't want this post to be a cry for money, but I would greatly appreciate any financial support by individuals or companies using (or wanting to use/support) the framework. I created a patreon page - https://www.patreon.com/onqtam - for that purpose in addition to the pledgie campaign - https://pledgie.com/campaigns/31280 You can checkout the reddit thread for this here - https://www.reddit.com/r/cpp/comments/53tkzx/doctest_the_lightest_feature_rich_c_single_header/ Any feedback is welcome! P.S. - how can I format this in hackernews? so many links ...
Does the same job
all alternatives →- DCDoctest – C++ single-header testing framework2016 · github.com · ▲55
- OSOpen-source A/B testing framework2021 · github.com · ▲199
- AMA modern documentation tool for C++ and a replacement for Doxygen2021 · hdoc.io · ▲31

- AMA Modern C/C++ build tools (Simple, Fast, Cross-platform)2019 · xmake.io · ▲89
- ACA C# library to help you enforce a Given-When-Then structured Unit test2021 · ▲24
I always strive to write better, clean and readable code. But I often find unit tests are hard to read, and especially harder to quickly identify what are the important pieces, or even what the test is testing about. So I came up with this lightweight library to help enforce unit tests with a Given-When-Then structure. I hope you find this useful. Any feedback are welcome. https://github.com/cobrakai-lab/Cobrakai.GWTUnit
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, September 2016
the whole month →
Startup Pitch Decks▲2,318Real decks from real startups that raised over $400M
Growth · 2016 · cirrusinsight.com
- WF
Life & fun · 2016 · github.com

- PP
Life & fun · 2016 · github.com

AccessURL▲819Share access to accounts without sending a username/password
Life & fun · 2016 · accessurl.com