Skip to content

test(vscode): regression tests for command registration#62

Merged
avrabe merged 1 commit intomainfrom
fix/extension-tests
Mar 19, 2026
Merged

test(vscode): regression tests for command registration#62
avrabe merged 1 commit intomainfrom
fix/extension-tests

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 19, 2026

5 tests ensuring commands work without spar binary. Prevents the 'command not found' regression.

5 tests ensuring commands are registered even without spar binary:
- spar.showDiagram registered (regression for "command not found")
- spar.selectRoot registered
- AADL language registered
- Extension activates on .aadl files
- Status bar item visible after activation

Uses @vscode/test-electron to launch real VS Code instance.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 160dc5b into main Mar 19, 2026
7 of 8 checks passed
@avrabe avrabe deleted the fix/extension-tests branch March 19, 2026 06:44
@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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