Skip to content

docs: explain when TEST_CASE runs without entering a SECTION (fixes #552)#3111

Open
leno23 wants to merge 1 commit into
catchorg:develfrom
leno23:docs/sections-execution-without-section-552
Open

docs: explain when TEST_CASE runs without entering a SECTION (fixes #552)#3111
leno23 wants to merge 1 commit into
catchorg:develfrom
leno23:docs/sections-execution-without-section-552

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 17, 2026

Summary

  • Document that Catch2 re-enters each TEST_CASE once per leaf SECTION path
  • Explain the single-sibling vs multi-sibling cases (including examples from When are test cases run without sections? #552)
  • Add FAQ entry linking to the new section in test-cases-and-sections.md

Test plan

  • Doc-only change

Fixes #552

Made with Cursor

Clarify when Catch2 runs a test case without entering a SECTION,
including the single- vs multi-sibling SECTION cases from catchorg#552.

Fixes catchorg#552
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.

When are test cases run without sections?

1 participant