-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Task 5442/add automated tests to vscode extension (#5540)
* Setup unittests wip * initial coverage setup Improve coverage configs checkpoint 1 checkpoint 2 checkpoint 3 add task to run test in build-extension workflow Add sonar cloud analysis step Remove unused libraries Add projectKey to sonar properties * test monorepo setup * use paths for pull_request trigger
- Loading branch information
Showing
18 changed files
with
2,084 additions
and
668 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
dist/ | ||
out/ | ||
.kiotabin/ | ||
*.vsix | ||
*.vsix | ||
.vscode-test | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { defineConfig } from '@vscode/test-cli'; | ||
|
||
export default defineConfig({ | ||
tests:[ | ||
{ | ||
files: 'out/test/**/*.test.js' | ||
} | ||
], | ||
coverage: { | ||
includeAll: true, | ||
exclude: ["**/src/test", "**/dist", "**/*.test.[tj]s", "**/*.ts"], | ||
reporter: ["text-summary", "html", "json-summary", "lcov", "cobertura"], | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,5 @@ vsc-extension-quickstart.md | |
.kiotabin/ | ||
.vsix | ||
images/samples/ | ||
.vscode-test | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.