Skip to content

adds UI tests#147

Merged
raleigh-g-thompson merged 1 commit intomasterfrom
feature/vscode-ui-automation
Mar 19, 2026
Merged

adds UI tests#147
raleigh-g-thompson merged 1 commit intomasterfrom
feature/vscode-ui-automation

Conversation

@raleigh-g-thompson
Copy link
Copy Markdown
Contributor

closes #146

Upgrades the VS Code extension test suite from smoke tests ("does not throw") to behavioral assertions, and adds new test files covering command registration, package.json contributions, and non-CQL file isolation. All 102 tests pass.

@raleigh-g-thompson raleigh-g-thompson added the enhancement New feature or request label Mar 16, 2026
@github-actions
Copy link
Copy Markdown

Coverage after merging feature/vscode-ui-automation into master will be

69.07%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   extension.api.ts100%100%100%100%
   extension.ts64.29%60%62.50%64.67%107–110, 131–133, 139–141, 146–148, 31–38, 41–63, 70–74, 84–91
   protocol.ts100%100%100%100%
   statusBar.ts100%100%100%100%
src/commands
   commands.ts100%100%100%100%
   execute-cql.ts36.24%100%45.45%32.08%100–105, 108–162, 165–253, 255–277, 323–328, 330–335, 41, 44, 47, 53–99
   log-files.ts70.09%58.33%60%72.22%24–29, 43–45, 50–53, 60–63, 69–71, 77–79, 84–90
   view-elm.ts94.44%100%100%93.33%12, 9
src/cql-language-server
   cqlLanguageClient.ts65.58%87.50%55.56%65.15%100–118, 122, 126–129, 141–146, 165–166, 173–177, 182–198, 37–39, 84, 88–99
   languageServerStarter.ts74.04%71.43%80%73.91%21–36, 44, 44–45, 71–77
src/cql-service
   cqlService.executeCql.ts73%100%66.67%70.79%10–34, 9
   cqlService.getElm.ts62.50%100%0%71.43%6–7
src/java-support
   findJavaRuntimes.ts55.58%66.67%78.57%53.31%100–104, 107–110, 120, 120–139, 14, 140–149, 15, 150–191, 197–213, 216–243, 251–253, 292–294, 320–322, 324–326, 332–334, 337–341, 346–362, 46–48, 78, 86–99
   javaServiceInstaller.ts94.29%72.73%100%96.57%124–126, 164–166, 173, 22–24, 60–61
   requirements.ts69.88%73.68%66.67%69.50%10–11, 115–128, 130–141, 55–68, 72–77
src/log-services
   logger.ts91.94%75%100%93.75%33–34, 37–39
   multi-transport-logger.ts83.57%100%53.33%86.09%100, 103–104, 107–108, 111–114, 55–56, 63–64, 95–96, 99
src/model
   testCase.ts95.24%94.12%100%95.35%82–86
src/utils
   file-utils.ts100%100%100%100%

@raleigh-g-thompson raleigh-g-thompson merged commit 4ab15aa into master Mar 19, 2026
6 checks passed
@raleigh-g-thompson raleigh-g-thompson deleted the feature/vscode-ui-automation branch March 19, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add UI automation tests for the VS Code extension

2 participants