Skip to content

Docs: document the matlab.unittest test harness in CLAUDE.md#83

Merged
torwager merged 2 commits into
masterfrom
docs/test-harness
Jul 4, 2026
Merged

Docs: document the matlab.unittest test harness in CLAUDE.md#83
torwager merged 2 commits into
masterfrom
docs/test-harness

Conversation

@torwager

@torwager torwager commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

The ## Tests section of CLAUDE.md still claimed "There is no test harness." That is now stale: master has a real matlab.unittest harness (canlab_run_all_tests), a canlab_test_*.m discovery convention, a fault-tolerant walkthrough integration tier, and GitHub Actions CI (test.yml, tests-walkthroughs.yml, codespell.yml).

This updates the Tests section (and the stale "no test runner" line in the intro) to document:

  • the runner and its options (Walkthroughs, Tag, JUnit)
  • the canlab_test_*.m naming/auto-discovery rule
  • directory layout and prerequisites (CanlabCore + Neuroimaging_Pattern_Masks + SPM on path)
  • Passed/Failed/Incomplete semantics (CI gates on Failed only; Incomplete = assumption-skip)
  • the fault-tolerant walkthrough harness behavior

Doc-only change. Locally verified the described commands: unit tier 261 passed / 0 failed / 2 incomplete; walkthrough tier 10/10 passed (R2026a + SPM25).

🤖 Generated with Claude Code

torwager and others added 2 commits June 25, 2026 23:55
The Tests section still claimed "there is no test harness." Master now has
canlab_run_all_tests (matlab.unittest), a canlab_test_*.m naming/discovery
convention, a fault-tolerant walkthrough integration tier, and GitHub Actions
CI (test.yml, tests-walkthroughs.yml, codespell.yml). Document the runner
options, layout, Passed/Failed/Incomplete semantics, and prerequisites
(CanlabCore + Neuroimaging_Pattern_Masks + SPM on path).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… deps

Reflects the dependency surfaced by the nightly walkthrough fix (#85): the
walkthrough tier needs RobustToolbox on the path (weighted_corrcoef) in
addition to the unit-tier prerequisites, and the nightly CI checks out
CANlab_help_examples and RobustToolbox.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@torwager torwager merged commit 68b0a7e into master Jul 4, 2026
1 of 2 checks passed
@torwager torwager deleted the docs/test-harness branch July 4, 2026 17:57
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