首页 发现
登录
Kevin
/
PrusaFirmware
1
0
派生 0
文件 工单管理 0 合并请求 0 Wiki
目录树: fe11b7a247
分支列表 标签列表
Bear_2.1
Bear_3.10.1
Bear_3.11.0
Bear_3.11.1
Bear_3.12.0
Custom
Custom_MK3
Disable_Print_Fan
MK3
v3.9.0-RC3
v3.9.0-RC2
v3.9.0-RC1
v3.9.0-beta
v3.8.1
v3.8.1-RC1
v3.8.0
v3.8.0-RC2
v3.8.0-RC1
v3.7.3
v3.7.2
v3.7.2-RC1
v3.2.3
v3.2.2
v3.7.1
v3.7.1-RC1
v3.2.2-RC1
v3.7.0
v3.7.0-RC1
v3.6.0
v3.6.0-RC1
v3.5.3
v3.5.2
v3.5.2-RC1
v3.5.1
v3.5.0
v3.5.0-RC1
v3.4.2
v3.4.1
v3.4.1-RC1
v3.4.0
v3.4.0-RC2
v3.4.0-RC1
v3.3.1
v3.3.0
v3.3.0-RC1
v3.2.1
v3.2.0
v3.2.0-RC2
v3.2.0-RC1
v3.1.4
v3.1.4-RC1
v3.2.0-alpha
v3.1.3-MK25
v3.1.3
v3.1.3_RC1
v3.1.3-RC1
v3.1.2
v3.1.2-RC1
v3.1.2-alpha
v3.1.1
v3.1.1-RC5
v3.1.0
v3.1.0-RC2
v3.1.0-RC1
v3.0.12
v3.0.12_RC2
v3.0.12-RC1
v3.0.11
v3.0.11-RC1
v3.0.10
v3.0.10-RC1
3.0.9
v3.0.8
3.0.6-082216
v3.0.6
3.0.7
v2.2.3
PrusaFirmware
/
lib
/
Catch2
/
docs
/
Readme.md

Readme.md 1.6 KB
文件历史 原始文件

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
  • 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
  • CI and other miscellaneous pieces
  • 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
© 2025 Gogs
简体中文
简体中文 English 繁體中文(香港) 繁體中文(臺灣) Deutsch français Nederlands latviešu русский 日本語 español português do Brasil polski български italiano suomi Türkçe čeština српски svenska 한국어 galego українська English (United Kingdom) Magyar Slovenčina Indonesian Persian Vietnamese Português
Javascript Licenses 官方网站