Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sharded execution for bazel test sharding support #2257

Merged
merged 4 commits into from Oct 27, 2021

Commits on Oct 27, 2021

  1. 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.
    ChewyGumball authored and horenmar committed Oct 27, 2021
    Copy the full SHA
    2b54877 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    24a1fed View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    bec1a72 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    6ac20a0 View commit details
    Browse the repository at this point in the history