mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 21:29:54 +01:00
da0edcbe25
Previously, some errors in Catch configuration would cause exceptions to be thrown before main was even entered. This leads to call to `std::terminate`, which is not a particularly nice way of ending the binary. Now these exceptions are registered with a global collector and used once Catch enters main. They can also be optionally ignored, if user supplies his own main and opts not to check them (or ignored them intentionally). Closes #921 |
||
---|---|---|
.. | ||
assertions.md | ||
build-systems.md | ||
command-line.md | ||
commercial-users.md | ||
configuration.md | ||
contributing.md | ||
event-listeners.md | ||
limitations.md | ||
logging.md | ||
matchers.md | ||
opensource-users.md | ||
own-main.md | ||
Readme.md | ||
release-notes.md | ||
reporters.md | ||
slow-compiles.md | ||
test-cases-and-sections.md | ||
test-fixtures.md | ||
tostring.md | ||
tutorial.md | ||
why-catch.md |
To get the most out of Catch, start with the tutorial. Once you're up and running consider the following reference material.
Writing tests:
- Assertion macros
- Matchers
- Logging macros
- Test cases and sections
- Test fixtures
- Reporters
- Event Listeners
Fine tuning:
Running:
FAQ:
Other: