Logo
Explore Help
Sign In
3rd-party/catch2
1
0
Fork 0
You've already forked catch2
mirror of https://github.com/catchorg/Catch2.git synced 2025-05-09 16:55:43 +02:00
Code Issues Packages Projects Releases Wiki Activity
catch2/docs/Readme.md
Martin Hořeňovský 16f48f8c7c
Add SUCCEED and FAIL docs next to SKIP docs
2023-01-12 20:38:58 +01:00

1.7 KiB
Raw Permalink Blame History

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 (asserting complex properties)
  • Comparing floating point numbers
  • Logging macros
  • Test cases and sections
  • Test fixtures
  • Explicitly skipping, passing, and failing tests at runtime
  • Reporters (output customization)
  • Event Listeners
  • Data Generators (value parameterized tests)
  • Other macros
  • Micro benchmarking

Fine tuning:

  • Supplying your own main()
  • Compile-time configuration
  • String Conversions

Running:

  • Command line

Odds and ends:

  • Frequently Asked Questions (FAQ)
  • Best practices and other tips
  • CMake integration
  • Tooling integration (CI, test runners, other)
  • Known limitations

Other:

  • Why Catch2?
  • Migrating from v2 to v3
  • Open Source Projects using Catch2
  • Commercial Projects using Catch2
  • Contributing
  • Release Notes
  • Deprecations and incoming changes
Powered by Gitea Version: 1.23.5 Page: 28ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API