Skip to content

docs: add test perspectives for the tests from PR #114 - #124

Closed
numlia wants to merge 2 commits into
mainfrom
docs/062-perspectives-follow-up
Closed

numlia wants to merge 2 commits into
mainfrom
docs/062-perspectives-follow-up

Conversation

@numlia

@numlia numlia commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Summary

Brings the test perspective documents in line with the tests that PR #114 added or changed. Test bodies are unchanged; only Case IDs and @see comments are added to the tests.

Changes

  • Add perspectives for template resolution and branch sanitizing on POSIX and Windows (src/worktreePath-test.md, S1 to S3, TC-001 to TC-025)
  • Add sections for the other tests from PR feat: suggest worktree paths and create them from Branch Cleanup #114: the Create Worktree action in Branch Cleanup, the suggested path in the ref menu, webview state and wiring, host-side settings, the configuration change handler and message routing
  • Fix two entries left inconsistent by PR feat: suggest worktree paths and create them from Branch Cleanup #114: TC-417 now describes the viewState key and setting count it checks, and the removed web/utils.ts section points to its successor
  • Tag the covered tests with their Case IDs and @see comments
  • List the Windows cases that were not covered yet (UNC paths, the drive directory filter, a bare ~) as follow-ups; the stacked PR adds them
  • Update the shard manifests and regenerate INDEX.md (625 sections, 3742 cases)

Notes

  • A stacked PR on this branch translates the perspective documents into English and adds the follow-up tests.
  • Docs and tests only; nothing in the extension changes.

- TC-417: describe the perspective as fixing the viewState key and the setting count, matching its expected result
- web/utils.ts S4: point to the successor with a Superseded By line instead of a note about the removal
- Add src/worktreePath-test.md (S1 to S3, TC-001 to TC-025) for branch sanitizing and template resolution on POSIX and Windows
- Add sections for the other tests from PR #114: Branch Cleanup Create Worktree (S8), the suggested path in the ref menu (S27), webview state and wiring (S86, S87), host-side settings (S44), configuration change (S11) and message routing (S22)
- Note Create Worktree in Branch Cleanup S4 and the icon-only buttons in TC-054
- Tag each covered test with its Case ID and an @see comment; test bodies are unchanged
- List the uncovered Windows cases (UNC, drive directory filter, ~ alone) as follow-ups in the failure-source inventories
- Update the shard manifests and regenerate INDEX.md (625 sections, 3742 cases)
@numlia numlia self-assigned this Oct 27, 2026
@numlia numlia closed this Oct 27, 2026
@numlia
numlia deleted the docs/062-perspectives-follow-up branch October 27, 2026 13:59
@numlia
numlia restored the docs/062-perspectives-follow-up branch October 27, 2026 14:01
@numlia
numlia deleted the docs/062-perspectives-follow-up branch October 27, 2026 14:04
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