Skip to content

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

Open
torwager wants to merge 1 commit into
masterfrom
docs/test-harness
Open

Docs: document the matlab.unittest test harness in CLAUDE.md#83
torwager wants to merge 1 commit 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

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>
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