Catch3

Catch3 0.4.0 maps every test to the lines it runs

The Catch3 runner records coverage per test, and keeps secrets out of the processes it starts.

With --coverage=DIR, the Catch3 runner runs every test in a process of its own and keeps what each one reached: coverage.json maps each test to the lines it ran, and coverage.lcov holds the whole run. It reads LLVM source-based coverage from Clang and gcov from GCC.

Workers and the processes the runner starts no longer inherit environment variables whose names look like secrets, such as TOKEN, SECRET or PASSWORD. A test that needs one names it with --pass-env, or with pass-env in the project configuration.

Versions of Catch3 have three numbers again from this release on, MAJOR.MINOR.PATCH, as Semantic Versioning writes them. The repository tools are now C++17 programs run through Bazel.

Release notes ↗About Catch3

← All news