-
-
Notifications
You must be signed in to change notification settings - Fork 6
Add comprehensive test coverage and refactor extension #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
ba76e74
8b3bf6a
7d60642
c5b42ab
668b02a
dd5d538
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,3 +2,5 @@ node_modules | |
| .vscode-test/ | ||
| *.vsix | ||
| /out | ||
| .stryker-tmp/ | ||
| reports/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "spec": "out/test/unit/**/*.test.js", | ||
| "ui": "tdd", | ||
| "timeout": 5000, | ||
| "color": true | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import { defineConfig } from '@vscode/test-cli'; | ||
|
|
||
| export default defineConfig({ | ||
| files: 'out/test/suite/**/*.test.js', | ||
| version: 'stable', | ||
| launchArgs: ['--disable-extensions'], | ||
| mocha: { | ||
| ui: 'tdd', | ||
| timeout: 20000 | ||
| } | ||
| }); |
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,5 +6,7 @@ | |||||||||||||
| **/*.ts | ||||||||||||||
| images/screenshot* | ||||||||||||||
| src/** | ||||||||||||||
| out/test/** | ||||||||||||||
| test/** | ||||||||||||||
| .vscode-test.mjs | ||||||||||||||
| tsconfig.json | ||||||||||||||
|
||||||||||||||
| tsconfig.json | |
| tsconfig.json | |
| .mocharc.unit.json |
Copilot
AI
Jan 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The stryker.config.json file is missing from the .vscodeignore file. Since this is a mutation testing configuration file that's only needed during development, it should be excluded from the published extension to reduce package size.
| tsconfig.json | |
| tsconfig.json | |
| stryker.config.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The mutation testing step in CI/CD may fail on the first run since it requires a mutation score of at least 50% (based on the 'break' threshold). Consider either making this step non-blocking initially (using 'continue-on-error: true') or adjusting the thresholds until the test suite is more mature.