mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 19:33:29 +01:00
3a3efebd16
`SizeIs` can accept both `size_t` and a matcher. In the first case, it checks whether the size of the range is equal to specified size. In the second case, it checks whether the provided matcher accepts the size of the range. |
||
---|---|---|
.. | ||
assertions.md | ||
benchmarks.md | ||
ci-and-misc.md | ||
cmake-integration.md | ||
command-line.md | ||
commercial-users.md | ||
configuration.md | ||
contributing.md | ||
deprecations.md | ||
event-listeners.md | ||
generators.md | ||
limitations.md | ||
list-of-examples.md | ||
logging.md | ||
matchers.md | ||
opensource-users.md | ||
other-macros.md | ||
own-main.md | ||
Readme.md | ||
release-notes.md | ||
release-process.md | ||
reporters.md | ||
slow-compiles.md | ||
test-cases-and-sections.md | ||
test-fixtures.md | ||
tostring.md | ||
tutorial.md | ||
why-catch.md |
Reference
To get the most out of Catch2, 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
- Data Generators
- Other macros
- Micro benchmarking
Fine tuning:
Running:
Odds and ends:
FAQ:
Other: