Martin Moene | dfb7217 | 2017-10-14 10:59:14 +0200 | [diff] [blame] | 1 | <a id="top"></a> |
| 2 | # List of examples |
| 3 | |
Martin Hořeňovský | db570b7 | 2018-05-09 22:49:04 +0200 | [diff] [blame] | 4 | ## Already available |
| 5 | |
Martin Moene | 558bbe7 | 2017-11-29 21:22:38 +0100 | [diff] [blame] | 6 | - Catch main: [Catch-provided main](../examples/000-CatchMain.cpp) |
Martin Moene | dfb7217 | 2017-10-14 10:59:14 +0200 | [diff] [blame] | 7 | - Test Case: [Single-file](../examples/010-TestCase.cpp) |
Unknown | e21c6aa | 2018-07-09 12:14:44 +0200 | [diff] [blame] | 8 | - Test Case: [Multiple-file 1](../examples/020-TestCase-1.cpp), [2](../examples/020-TestCase-2.cpp) |
Martin Moene | dfb7217 | 2017-10-14 10:59:14 +0200 | [diff] [blame] | 9 | - Assertion: [REQUIRE, CHECK](../examples/030-Asn-Require-Check.cpp) |
Martin Hořeňovský | db570b7 | 2018-05-09 22:49:04 +0200 | [diff] [blame] | 10 | - Fixture: [Sections](../examples/100-Fix-Section.cpp) |
| 11 | - Fixture: [Class-based fixtures](../examples/110-Fix-ClassFixture.cpp) |
| 12 | - BDD: [SCENARIO, GIVEN, WHEN, THEN](../examples/120-Bdd-ScenarioGivenWhenThen.cpp) |
Martin Moene | 558bbe7 | 2017-11-29 21:22:38 +0100 | [diff] [blame] | 13 | - Report: [Catch-provided main](../examples/200-Rpt-CatchMain.cpp) |
| 14 | - Report: [TeamCity reporter](../examples/207-Rpt-TeamCityReporter.cpp) |
Martin Hořeňovský | db570b7 | 2018-05-09 22:49:04 +0200 | [diff] [blame] | 15 | - Listener: [Listeners](../examples/210-Evt-EventListeners.cpp) |
Martin Hořeňovský | c8941cc | 2018-07-08 13:35:40 +0200 | [diff] [blame] | 16 | - Configuration: [Provide your own output streams](../examples/231-Cfg-OutputStreams.cpp) |
Martin Hořeňovský | 061f1f8 | 2019-01-29 10:52:28 +0100 | [diff] [blame] | 17 | - Generators: [Create your own generator](../examples/300-Gen-OwnGenerator.cpp) |
Martin Hořeňovský | 5bf6e47 | 2019-02-26 12:46:10 +0100 | [diff] [blame] | 18 | - Generators: [Use map to convert types in GENERATE expression](../examples/301-Gen-MapTypeConversion.cpp) |
Martin Hořeňovský | 061f1f8 | 2019-01-29 10:52:28 +0100 | [diff] [blame] | 19 | - Generators: [Use variables in generator expressions](../examples/310-Gen-VariablesInGenerators.cpp) |
Martin Hořeňovský | 3816e99 | 2019-03-31 14:11:10 +0200 | [diff] [blame] | 20 | - Generators: [Use custom variable capture in generator expressions](../examples/311-Gen-CustomCapture.cpp) |
Martin Hořeňovský | 061f1f8 | 2019-01-29 10:52:28 +0100 | [diff] [blame] | 21 | |
Martin Hořeňovský | db570b7 | 2018-05-09 22:49:04 +0200 | [diff] [blame] | 22 | |
| 23 | ## Planned |
| 24 | |
Martin Moene | dfb7217 | 2017-10-14 10:59:14 +0200 | [diff] [blame] | 25 | - Assertion: [REQUIRE_THAT and Matchers](../examples/040-Asn-RequireThat.cpp) |
| 26 | - Assertion: [REQUIRE_NO_THROW](../examples/050-Asn-RequireNoThrow.cpp) |
| 27 | - Assertion: [REQUIRE_THROWS](../examples/050-Asn-RequireThrows.cpp) |
| 28 | - Assertion: [REQUIRE_THROWS_AS](../examples/070-Asn-RequireThrowsAs.cpp) |
| 29 | - Assertion: [REQUIRE_THROWS_WITH](../examples/080-Asn-RequireThrowsWith.cpp) |
| 30 | - Assertion: [REQUIRE_THROWS_MATCHES](../examples/090-Asn-RequireThrowsMatches.cpp) |
Martin Moene | dfb7217 | 2017-10-14 10:59:14 +0200 | [diff] [blame] | 31 | - Floating point: [Approx - Comparisons](../examples/130-Fpt-Approx.cpp) |
| 32 | - Logging: [CAPTURE - Capture expression](../examples/140-Log-Capture.cpp) |
| 33 | - Logging: [INFO - Provide information with failure](../examples/150-Log-Info.cpp) |
| 34 | - Logging: [WARN - Issue warning](../examples/160-Log-Warn.cpp) |
| 35 | - Logging: [FAIL, FAIL_CHECK - Issue message and force failure/continue](../examples/170-Log-Fail.cpp) |
| 36 | - Logging: [SUCCEED - Issue message and continue](../examples/180-Log-Succeed.cpp) |
| 37 | - Report: [User-defined type](../examples/190-Rpt-ReportUserDefinedType.cpp) |
Martin Moene | 558bbe7 | 2017-11-29 21:22:38 +0100 | [diff] [blame] | 38 | - Report: [User-defined reporter](../examples/202-Rpt-UserDefinedReporter.cpp) |
| 39 | - Report: [Automake reporter](../examples/205-Rpt-AutomakeReporter.cpp) |
| 40 | - Report: [TAP reporter](../examples/206-Rpt-TapReporter.cpp) |
| 41 | - Report: [Multiple reporter](../examples/208-Rpt-MultipleReporters.cpp) |
Martin Moene | dfb7217 | 2017-10-14 10:59:14 +0200 | [diff] [blame] | 42 | - Configuration: [Provide your own main()](../examples/220-Cfg-OwnMain.cpp) |
| 43 | - Configuration: [Compile-time configuration](../examples/230-Cfg-CompileTimeConfiguration.cpp) |
| 44 | - Configuration: [Run-time configuration](../examples/240-Cfg-RunTimeConfiguration.cpp) |
| 45 | |
| 46 | --- |
| 47 | |
| 48 | [Home](Readme.md#top) |