Skip to content

1.4.0: a run of cases through a part names its program - #10

Merged
Sunrisepeak merged 1 commit into
mainfrom
fix-run-cases-program
Nov 10, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
fix-run-cases-program

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Found in the clean-room check of 1.3.0 (xlings install mcpp-ide mcpp-ide-nvim, mcpp 2026.11.9.1, a two-file mtest program under [test] programs = "directory").

  • test/runCases through a part (test: "unit/arith") answered program: "unit/arith", part: "unit": the job's filter was taken as the program, the record's name as the part. test/caseResult now names both as the record states them, by the rule of test/result (testing::owner_of). mcpp 2026.11.9.1 names a run with --case after the program (unit), whatever part the filter names; such a result carries no part. CLion and Neovim place a case by these fields; VS Code looks cases up by id and was not affected.
  • The e2e protocol test runs cases through unit/a of the directory fixtures and checks each result's program and part (it fails on 1.3.0).
  • A change of the backend begins a series: every component is 1.4.0.
  • Docs: the Neovim command is :Mcpp test.insights (the design note and a comment said testInsights). This supersedes docs: the Neovim command of the test insights is :Mcpp test.insights #9.

Local: backend 14/14, protocol e2e, Neovim smoke 66/66, release-plan.sh v1.4.0 → backend vscode clion nvim.

Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com

test/caseResult named the job's filter as the program and the record's
name as the part: cases run through a part (unit/a) were reported as the
program unit/a, and CLion and Neovim placed them under a suite of that
name. It now names them as the record states them, by the rule of
test/result (owner_of). mcpp names a run that selects cases (--case) after
the program; such a result carries no part. The design note and a comment
named the Neovim command :Mcpp testInsights; it is :Mcpp test.insights.

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak
Sunrisepeak merged commit 2e91ca8 into main Nov 10, 2026
32 checks passed
@Sunrisepeak
Sunrisepeak deleted the fix-run-cases-program branch November 10, 2026 02:35
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