Catch2
  • v2.13.2
    v2.13.2 latest - Oct. 7, 2020
    Log in
  • Project Info
  • Language
  • C++
  • License
  • BSL 1.0
  • Version Released
  • Oct. 7, 2020
  • Docs Built
  • Feb. 3, 2021
  • Latest Version
  • v2.13.2
  • Collaborators
  • admin
  • Tags
  • single-file test-framework testing tdd framework no-dependencies bdd header-only
  1. Home
  2. Reference

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:

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

Running:

  • Command line

Odds and ends:

  • CMake integration
  • CI and other miscellaneous pieces

FAQ:

  • Why are my tests slow to compile?
  • Known limitations

Other:

  • Why Catch?
  • Open Source Projects using Catch
  • Commercial Projects using Catch
  • Contributing
  • Release Notes
  • Deprecations and incoming changes
  • Previous
  • Next





Add Discussion as Guest

Log in

Created and hosted by DocsForge.

  • © 2020 DocsForge
  • Add Project
  • Log in
  • Help