mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
parent
0074926e5c
commit
db570b7e24
@ -1,18 +1,25 @@
|
|||||||
<a id="top"></a>
|
<a id="top"></a>
|
||||||
# List of examples
|
# List of examples
|
||||||
|
|
||||||
|
## Already available
|
||||||
|
|
||||||
- Test Case: [Single-file](../examples/010-TestCase.cpp)
|
- Test Case: [Single-file](../examples/010-TestCase.cpp)
|
||||||
- Test Case: [Multiple-file 1](../examples/020-TestCase-1.cpp), [2](../examples/020-TestCase-1.cpp)
|
- Test Case: [Multiple-file 1](../examples/020-TestCase-1.cpp), [2](../examples/020-TestCase-1.cpp)
|
||||||
- Assertion: [REQUIRE, CHECK](../examples/030-Asn-Require-Check.cpp)
|
- Assertion: [REQUIRE, CHECK](../examples/030-Asn-Require-Check.cpp)
|
||||||
|
- Fixture: [Sections](../examples/100-Fix-Section.cpp)
|
||||||
|
- Fixture: [Class-based fixtures](../examples/110-Fix-ClassFixture.cpp)
|
||||||
|
- BDD: [SCENARIO, GIVEN, WHEN, THEN](../examples/120-Bdd-ScenarioGivenWhenThen.cpp)
|
||||||
|
- Listener: [Listeners](../examples/210-Evt-EventListeners.cpp)
|
||||||
|
|
||||||
|
|
||||||
|
## Planned
|
||||||
|
|
||||||
- Assertion: [REQUIRE_THAT and Matchers](../examples/040-Asn-RequireThat.cpp)
|
- Assertion: [REQUIRE_THAT and Matchers](../examples/040-Asn-RequireThat.cpp)
|
||||||
- Assertion: [REQUIRE_NO_THROW](../examples/050-Asn-RequireNoThrow.cpp)
|
- Assertion: [REQUIRE_NO_THROW](../examples/050-Asn-RequireNoThrow.cpp)
|
||||||
- Assertion: [REQUIRE_THROWS](../examples/050-Asn-RequireThrows.cpp)
|
- Assertion: [REQUIRE_THROWS](../examples/050-Asn-RequireThrows.cpp)
|
||||||
- Assertion: [REQUIRE_THROWS_AS](../examples/070-Asn-RequireThrowsAs.cpp)
|
- Assertion: [REQUIRE_THROWS_AS](../examples/070-Asn-RequireThrowsAs.cpp)
|
||||||
- Assertion: [REQUIRE_THROWS_WITH](../examples/080-Asn-RequireThrowsWith.cpp)
|
- Assertion: [REQUIRE_THROWS_WITH](../examples/080-Asn-RequireThrowsWith.cpp)
|
||||||
- Assertion: [REQUIRE_THROWS_MATCHES](../examples/090-Asn-RequireThrowsMatches.cpp)
|
- Assertion: [REQUIRE_THROWS_MATCHES](../examples/090-Asn-RequireThrowsMatches.cpp)
|
||||||
- Fixture: [Sections](../examples/100-Fix-Section.cpp)
|
|
||||||
- Fixture: [Class-based fixtures](../examples/110-Fix-ClassFixture.cpp)
|
|
||||||
- BDD: [SCENARIO, GIVEN, WHEN, THEN](../examples/120-Bdd-ScenarioGivenWhenThen.cpp)
|
|
||||||
- Floating point: [Approx - Comparisons](../examples/130-Fpt-Approx.cpp)
|
- Floating point: [Approx - Comparisons](../examples/130-Fpt-Approx.cpp)
|
||||||
- Logging: [CAPTURE - Capture expression](../examples/140-Log-Capture.cpp)
|
- Logging: [CAPTURE - Capture expression](../examples/140-Log-Capture.cpp)
|
||||||
- Logging: [INFO - Provide information with failure](../examples/150-Log-Info.cpp)
|
- Logging: [INFO - Provide information with failure](../examples/150-Log-Info.cpp)
|
||||||
@ -21,7 +28,6 @@
|
|||||||
- Logging: [SUCCEED - Issue message and continue](../examples/180-Log-Succeed.cpp)
|
- Logging: [SUCCEED - Issue message and continue](../examples/180-Log-Succeed.cpp)
|
||||||
- Report: [User-defined type](../examples/190-Rpt-ReportUserDefinedType.cpp)
|
- Report: [User-defined type](../examples/190-Rpt-ReportUserDefinedType.cpp)
|
||||||
- Report: [Reporter](../examples/200-Rpt-UserDefinedReporter.cpp)
|
- Report: [Reporter](../examples/200-Rpt-UserDefinedReporter.cpp)
|
||||||
- Listener: [Listeners](../examples/210-Evt-EventListeners.cpp)
|
|
||||||
- Configuration: [Provide your own main()](../examples/220-Cfg-OwnMain.cpp)
|
- Configuration: [Provide your own main()](../examples/220-Cfg-OwnMain.cpp)
|
||||||
- Configuration: [Compile-time configuration](../examples/230-Cfg-CompileTimeConfiguration.cpp)
|
- Configuration: [Compile-time configuration](../examples/230-Cfg-CompileTimeConfiguration.cpp)
|
||||||
- Configuration: [Run-time configuration](../examples/240-Cfg-RunTimeConfiguration.cpp)
|
- Configuration: [Run-time configuration](../examples/240-Cfg-RunTimeConfiguration.cpp)
|
||||||
|
Loading…
Reference in New Issue
Block a user