Skip to content

docs: add required includes to test-cases-and-sections examples (#2519)#3122

Open
leno23 wants to merge 2 commits into
catchorg:develfrom
leno23:docs/test-cases-include-headers-2519
Open

docs: add required includes to test-cases-and-sections examples (#2519)#3122
leno23 wants to merge 2 commits into
catchorg:develfrom
leno23:docs/test-cases-include-headers-2519

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 30, 2026

Summary

  • Add catch_bdd_macros.hpp and standard headers to the BDD SCENARIO example
  • Add catch_template_test_macros.hpp to the TEMPLATE_TEST_CASE example

Continues #3118#3121; partial fix for #2519.

Test plan

  • Markdown-only change

Made with Cursor

leno23 added 2 commits May 30, 2026 11:44
…horg#2519)

Show BDD and template test macro headers in SCENARIO and
TEMPLATE_TEST_CASE examples.
Cover TEMPLATE_PRODUCT, TEMPLATE_LIST, and TEMPLATE_*_SIG examples.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.26%. Comparing base (69e0473) to head (39a2a93).

Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #3122   +/-   ##
=======================================
  Coverage   91.26%   91.26%           
=======================================
  Files         204      204           
  Lines        8905     8905           
=======================================
  Hits         8127     8127           
  Misses        778      778           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant