1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-05-01 04:53:53 +00:00
Neal Coombes 396ecf6021 Cache std::ostringstream between assertions.
This is not thread safe, but I think that was already true of Catch.
The construction/destruction of the std::ostringstream is where the
vast majority of time is spent per assertion.  A simple test of
100000000 CHECK()s is reduced from around 60s to 7.4s
2017-06-25 15:53:59 +02:00
2017-06-15 13:08:26 +02:00
2017-02-21 08:52:08 +00:00
2017-04-20 22:54:17 +02:00
2017-03-01 16:47:04 +00:00
2017-03-01 16:47:04 +00:00
2017-03-01 17:00:33 +00:00
2017-06-15 13:08:26 +02:00

catch logo

Github Releases Build Status Build status

The latest, single header, version can be downloaded directly using this link

What's the Catch?

Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.

How to use it

This documentation comprises these three parts:

More

Description
Catch2 testing framework
Readme 68 MiB