catch2/docs
Holger Kaelberer aad926baf8 Catch.cmake: Add new DISCOVERY_MODE option to catch_discover_tests
Introducing a new DISCOVERY_MODE mode option, which provides greater
control over when catch_discover_tests perforsm test discovery.

It has two supported modes:
* POST_BUILD: The default behavior, which adds a POST_BUILD command
  to perform test discovery after the test has been built as was
  always done so far.

* PRE_TEST: New mode, which delays test discovery until test execution.
  The generated include file generates the appropriate CTest files at
  runtime and regenerates the CTest files when the executable is
  updated.
  This mode can be used in build-environments that don't allow for
  executing the linked binaries at build-time (like in a
  cross-compilation environment).

DISCOVERY_MODE can be controlled in two ways:
1. Setting the DISCOVERY_MODE when calling catch_discover_tests.

2. Setting the global CMAKE_CATCH_DISCOVER_TESTS_DISCOVERY_MODE prior
   to calling gtest_discover_tests.

Closes #2493
2023-04-19 23:51:42 +02:00
..
Readme.md Add SUCCEED and FAIL docs next to SKIP docs 2023-01-12 20:38:58 +01:00
assertions.md Update explanation of REQUIRE_FALSE in docs/assertions.md 2022-10-17 15:13:00 +02:00
benchmarks.md Mention that run == iteration in benchmarking docs 2021-11-15 23:09:18 +01:00
ci-and-misc.md v3.2.0 2022-11-16 20:05:48 +01:00
cmake-integration.md Catch.cmake: Add new DISCOVERY_MODE option to catch_discover_tests 2023-04-19 23:51:42 +02:00
command-line.md Rewrite -# docs 2023-02-17 15:55:21 +01:00
commercial-users.md Trim superfluous whitespace in docs 2022-10-17 15:02:45 +02:00
comparing-floating-point-numbers.md Update comparing-floating-point-numbers.md 2022-10-29 12:42:45 +02:00
configuration.md v3.2.0 2022-11-16 20:05:48 +01:00
contributing.md Update build instructions in contributing.md 2023-02-22 20:11:45 +01:00
deprecations.md Add SUCCEED and FAIL docs next to SKIP docs 2023-01-12 20:38:58 +01:00
event-listeners.md Trim superfluous whitespace in docs 2022-10-17 15:02:45 +02:00
faq.md Add repeatability guarantees to faq.md 2022-11-16 11:21:00 +01:00
generators.md Update generator docs 2023-01-18 11:55:53 +01:00
limitations.md Update docs about thread safe assertions 2023-02-01 15:24:47 +01:00
list-of-examples.md Examples: remove references to catch_default_main 2022-02-20 13:10:42 +01:00
logging.md Fix introduced in version placeholders 2021-03-13 10:26:12 +01:00
matchers.md v3.3.2 2023-02-27 15:12:49 +01:00
migrate-v2-to-v3.md Explain TU as translation unit where appropriate 2022-09-03 22:22:10 +02:00
opensource-users.md Add wxWidgets as another Open Source project using Catch 2023-03-11 21:29:51 +01:00
other-macros.md v3.0.1 2022-05-17 22:13:36 +02:00
own-main.md Rewrite own-main.md for v3 2021-11-19 15:52:32 +01:00
release-notes.md v3.3.2 2023-02-27 15:12:49 +01:00
release-process.md Update release-process.md for v3 2022-01-03 23:30:39 +01:00
reporter-events.md Trim superfluous whitespace in docs 2022-10-17 15:02:45 +02:00
reporters.md v3.0.1 2022-05-17 22:13:36 +02:00
skipping-passing-failing.md v3.3.0 2023-01-22 19:53:12 +01:00
test-cases-and-sections.md Rewrite -# docs 2023-02-17 15:55:21 +01:00
test-fixtures.md Trim superfluous whitespace in docs 2022-10-17 15:02:45 +02:00
tostring.md Fix introduced in version placeholders 2021-03-13 10:26:12 +01:00
tutorial.md Trim superfluous whitespace in docs 2022-10-17 15:02:45 +02:00
usage-tips.md Fix typos in docs (#2514) 2022-09-09 16:00:39 +02:00
why-catch.md Fix typos in docs (#2514) 2022-09-09 16:00:39 +02:00