Catch2

A 5-post collection


RSS feed of posts tagged Catch2

The Little Things: Why you should always have benchmarks ready

At the end of January, I removed some low-hanging allocations from Catch2. This meant that running the SelfTest binary in v3.3.1 made 8k fewer allocations, but it also made section tracking in v3.3.1 ~4x slower. This post is about how that happened and what we can learn from this. »

The Little Things: My ?radical? opinions about unit tests

Due to maintaining Catch2 and generally caring about SW correctness, I spend _a lot_ of my time thinking about tests. This has left me with many opinions about tests, some conventional and some heterodox. »

The Little Things: Testing with Catch2

In this post, we will take a look at testing with Catch2. First, we will go over the basics, and then we will take a closer look at three more advanced features: Matchers, Generators, and Benchmarking. »

The future of Catch2

I am planning to create a branch for the next major version of Catch2 soon, and doing so brings some questions about Catch2's future. »

How I became an OSS maintainer

For the last ~year, I have been a maintainer of Catch2 test framework, and I have decided to write about how that came to be. »