Skip to content

0.11.2: what a scope does names no case - #28

Merged
Sunrisepeak merged 1 commit into
mainfrom
scope-events
Nov 21, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
scope-events

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

A case that runs only as the scope of a selected case (SPEC-017 P3.4) is not reported unless a statement of its own fails. A step, exercise, artifact, metric or fixture event written while its body ran named that case, and the runner, which never saw it begin, held it as a case that did not end. In mcpp's Windows e2e program a capability probe that e2e::run ran in the body of the mingw suite failed the program while all of its cases passed. These events now name no case.

  • lib/src/mtest.cpp: a running case records whether it is reported; the events above name it only then.
  • lib/tests/suites.cpp: a scope's step and exercise name no case.
  • spec/protocol.md, CHANGELOG, the version the five packages state: 0.11.2. The change is source-compatible with 0.11.1.

A case that runs only as the scope of a selected case (P3.4) is not
reported unless a statement of its own fails. A step, exercise, artifact,
metric or fixture event written while its body ran named it, and the
runner held it as a case that did not end: a capability probe run by
e2e::run in a suite's body failed a program whose cases all passed. These
events now name no case.
@Sunrisepeak
Sunrisepeak merged commit 7880406 into main Nov 21, 2026
9 checks passed
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