Boost logo

Boost :

From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2019-11-22 20:05:29


On 22.11.19 14:36, Hans Dembinski via Boost wrote:
>
>> On 21. Nov 2019, at 16:23, Krzysztof Jusiak via Boost <boost_at_[hidden]> wrote:
>>
>> I was wondering whether there is any interest in exploring a C++20 single
>> header/single module, macro-free Unit Testing Framework with no
>> dependencies?
>>
>> Github: https://github.com/boost-experimental/ut
>
> It is impressive. I didn't know that catch2 takes so much computation time. Could you include Boost.Test and lightweight_test from Boost.Core in your benchmark?
I would also be interested by that!

> The small binary size and compilation time suggests that some of the tests are completely evaluated at compile-time. Is that what happens?
>
> Syntax-wise, the absence of macros is impressive, although there is a steep price to pay, I have to writing out lambdas and literals excessively, which leads to a lot of squiggly characters to type. I don't like macros, but the downsides of macros are not relevant in a test framework.

I also agree with this: lack of macros is not IMO a selling point,
except when it comes to the dependencies that are pulled to get
something powerful enough in the preprocessor (like this is the case
with boost.test and its dependency to boost.preprocess).

Raffi


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk