首页 发现
登录
Kevin
/
PrusaFirmware
1
0
派生 0
文件 工单管理 0 合并请求 0 Wiki
目录树: cf576e98bf
分支列表 标签列表
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
/
list-of-examples.md

list-of-examples.md 2.9 KB
文件历史 原始文件

List of examples

Already available

  • Catch main: Catch-provided main
  • Test Case: Single-file
  • Test Case: Multiple-file 1, 2
  • Assertion: REQUIRE, CHECK
  • Fixture: Sections
  • Fixture: Class-based fixtures
  • BDD: SCENARIO, GIVEN, WHEN, THEN
  • Report: Catch-provided main
  • Report: TeamCity reporter
  • Listener: Listeners
  • Configuration: Provide your own output streams
  • Generators: Create your own generator
  • Generators: Use map to convert types in GENERATE expression
  • Generators: Run test with a table of input values
  • Generators: Use variables in generator expressions
  • Generators: Use custom variable capture in generator expressions

Planned

  • Assertion: REQUIRE_THAT and Matchers
  • Assertion: REQUIRE_NO_THROW
  • Assertion: REQUIRE_THROWS
  • Assertion: REQUIRE_THROWS_AS
  • Assertion: REQUIRE_THROWS_WITH
  • Assertion: REQUIRE_THROWS_MATCHES
  • Floating point: Approx - Comparisons
  • Logging: CAPTURE - Capture expression
  • Logging: INFO - Provide information with failure
  • Logging: WARN - Issue warning
  • Logging: FAIL, FAIL_CHECK - Issue message and force failure/continue
  • Logging: SUCCEED - Issue message and continue
  • Report: User-defined type
  • Report: User-defined reporter
  • Report: Automake reporter
  • Report: TAP reporter
  • Report: Multiple reporter
  • Configuration: Provide your own main()
  • Configuration: Compile-time configuration
  • Configuration: Run-time configuration

Home

© 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 官方网站