Skip to content
Snippets Groups Projects
Commit 3087e19c authored by Ben Dunkin's avatar Ben Dunkin Committed by Martin Hořeňovský
Browse files

Allow test sharding for e.g. Bazel test sharding feature

This greatly simplifies running Catch2 tests in single binary
in parallel from external test runners. Instead of having to
shard the tests by tags/test names, an external test runner
can now just ask for test shard 2 (out of X), and execute that
in single process, without having to know what tests are actually
in the shard.

Note that sharding also applies to test listing, and happens after
tests were ordered according to the `--order` feature.
parent 6456ee8b
No related branches found
No related tags found
No related merge requests found
Showing
with 325 additions and 6 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment