Catch ``catch_discover_tests``

Copied from [Dynamic Catch test discovery in CMake](https://gist.github.com/garethsb/a01ed0dbd4977d439c16200640549935), which was inspired by [Dynamic Google Test Discovery in CMake 3.10](https://blog.kitware.com/dynamic-google-test-discovery-in-cmake-3-10/).

Original source code:

- Adapted by [Gareth Sylvester-Bradley](https://github.com/garethsb) from [GoogleTest ``gtest_discover_tests``](https://gitlab.kitware.com/cmake/cmake/merge_requests/1056).
- BSD 3-clause "New" or "Revised" License.
- Copyright 2000-2017 Kitware, Inc. and Contributors. All rights reserved.
2 files changed
tree: c08867bfcae7ef7ac7eb2b728f2276f3860c962b
  1. .github/
  2. artwork/
  3. CMake/
  4. contrib/
  5. docs/
  6. examples/
  7. include/
  8. misc/
  9. projects/
  10. scripts/
  11. single_include/
  12. test_package/
  13. third_party/
  14. .gitattributes
  15. .gitignore
  16. .travis.yml
  17. appveyor.yml
  18. catch.pc.in
  19. CMakeLists.txt
  20. CODE_OF_CONDUCT.md
  21. codecov.yml
  22. conanfile.py
  23. LICENSE.txt
  24. README.md
README.md

catch logo

Github Releases Build Status Build status codecov Try online

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

Catch2 is released!

If you've been using an earlier version of Catch, please see the Breaking Changes section of the release notes before moving to Catch2. You might also like to read this blog post for more details.

What's the Catch?

Catch2 stands for C++ Automated Test Cases in a Header and is a multi-paradigm test framework for C++. which also supports Objective-C (and maybe C). It is primarily distributed as a single header file, although certain extensions may require additional headers.

How to use it

This documentation comprises these three parts:

More