This website works better with JavaScript
Etusivu
Tutki
Kirjaudu sisään
Kevin
/
PrusaFirmware
Tarkkaile
1
Äänestä
0
Fork
0
Tiedostot
Ongelmat
0
Pull-pyynnöt
0
Wiki
Puu:
acc6f3a43c
Branchit
Tagit
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.7 KB
Historia
Raaka
List of examples
Already available
Test Case:
Single-file
Test Case:
Multiple-file 1
,
2
Assertion:
REQUIRE, CHECK
Fixture:
Sections
Fixture:
Class-based fixtures
BDD:
SCENARIO, GIVEN, WHEN, THEN
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