vectorgrp / vector-vscode-vcast

A VectorCAST test adapter for VS Code
Other
8 stars 2 forks source link

Add support for `clicast` server mode #187

Closed johnpaliotta closed 2 months ago

johnpaliotta commented 3 months ago

VectorCAST 2024sp4 has support for running clicast in a server mode.

This PR adds support to the extension to utilise this server. Currently, the server is not enabled by default.

github-actions[bot] commented 2 months ago

Unit Test results - Vcast 23

 1 files  ±0   8 suites  +1   5s :stopwatch: +2s 53 tests +7  53 :white_check_mark: +7  0 :zzz: ±0  0 :x: ±0  54 runs  +7  54 :white_check_mark: +7  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

This pull request removes 3 and adds 10 tests. Note that renamed tests count towards both. ``` tests/unit/common-utilities.test.ts ‑ Validating commonUtilities > validate cleanVcastOutput tests/unit/python-utilities-invalid.test.ts ‑ Testing pythonUtilities (invalid) > validate that testEditorInterface.py was not found tests/unit/python-utilities-valid.test.ts ‑ Testing pythonUtilities (valid) > validate that testEditorInterface.py was found ``` ``` tests/unit/common-utilities.test.ts ‑ Validating commonUtilities > validate cleanVectorcastOutput tests/unit/python-utilities-invalid.test.ts ‑ Testing pythonUtilities (invalid) > validate that initializePaths if the path was not found tests/unit/python-utilities-valid.test.ts ‑ Testing pythonUtilities (valid) > should create and send a diagnostic object for tst tests/unit/tst-completion.test.ts ‑ Text Completion > validate "no document" case tests/unit/vcast-server.test.ts ‑ test server functions > closeConnection handles internal server error tests/unit/vcast-server.test.ts ‑ test server functions > closeConnection handles successful response tests/unit/vcast-server.test.ts ‑ test server functions > serverIsAlive handles Python interface error tests/unit/vcast-server.test.ts ‑ test server functions > serverIsAlive handles clicast instance start failure tests/unit/vcast-server.test.ts ‑ test server functions > serverIsAlive handles successful response tests/unit/vcast-server.test.ts ‑ test server functions > transmitCommand handles fetch errors with empty reason correctly ```

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

Unit Test results - Vcast 24

 1 files  ± 0   9 suites  +1   6s :stopwatch: +2s 61 tests +11  61 :white_check_mark: +11  0 :zzz: ±0  0 :x: ±0  62 runs  +11  62 :white_check_mark: +11  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

This pull request removes 3 and adds 14 tests. Note that renamed tests count towards both. ``` tests/unit/common-utilities.test.ts ‑ Validating commonUtilities > validate cleanVcastOutput tests/unit/python-utilities-invalid.test.ts ‑ Testing pythonUtilities (invalid) > validate that testEditorInterface.py was not found tests/unit/python-utilities-valid.test.ts ‑ Testing pythonUtilities (valid) > validate that testEditorInterface.py was found ``` ``` tests/unit/common-utilities.test.ts ‑ Validating commonUtilities > validate cleanVectorcastOutput tests/unit/ct-completion.test.ts ‑ Testing pythonUtilities (valid) > should create and send a diagnostic objects for tst and ct tests/unit/ct-completion.test.ts ‑ Testing pythonUtilities (valid) > validate console log if connection is defined tests/unit/ct-completion.test.ts ‑ Testing pythonUtilities (valid) > validate getChoiceDataFromServer tests/unit/ct-completion.test.ts ‑ Testing pythonUtilities (valid) > validate getChoiceDataFromServer if it fails tests/unit/python-utilities-invalid.test.ts ‑ Testing pythonUtilities (invalid) > validate that initializePaths if the path was not found tests/unit/python-utilities-valid.test.ts ‑ Testing pythonUtilities (valid) > should create and send a diagnostic object for tst tests/unit/tst-completion.test.ts ‑ Text Completion > validate "no document" case tests/unit/vcast-server.test.ts ‑ test server functions > closeConnection handles internal server error tests/unit/vcast-server.test.ts ‑ test server functions > closeConnection handles successful response … ```

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 23 - Group build_different_envs

5 tests  ±0   5 :white_check_mark: ±0   36s :stopwatch: +11s 1 suites ±0   0 :zzz: ±0  1 files   ±0   0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 23 - Group bugs

 2 files  ±0   2 suites  ±0   4m 12s :stopwatch: -8s 12 tests ±0  12 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  14 runs  ±0  14 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 23 - Group basic_user_interactions

 9 files  ±0   9 suites  ±0   13m 36s :stopwatch: + 2m 6s 25 tests ±0  25 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  43 runs  ±0  43 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 23 - Group env_basis

2 files  ±0  2 suites  ±0   8m 45s :stopwatch: -6s 7 tests ±0  7 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  9 runs  ±0  9 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (e643e92) to head (c2aa6a8). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #187 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 7 9 +2 Lines 1078 1389 +311 Branches 136 161 +25 ========================================== + Hits 1078 1389 +311 ``` | [Flag](https://app.codecov.io/gh/vectorgrp/vector-vscode-vcast/pull/187/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vectorgrp) | Coverage Δ | | |---|---|---| | [Unit](https://app.codecov.io/gh/vectorgrp/vector-vscode-vcast/pull/187/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vectorgrp) | `100.00% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vectorgrp#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 23 - Group build_env_failure

 2 files  ±0   2 suites  ±0   2m 42s :stopwatch: -1s  8 tests ±0   8 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  10 runs  ±0  10 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 23 - Group unit_basis

2 files  ±0  2 suites  ±0   4m 1s :stopwatch: +4s 7 tests ±0  7 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  9 runs  ±0  9 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 23 - Group flask_icon

9 tests  ±0   9 :white_check_mark: ±0   2m 9s :stopwatch: -1s 1 suites ±0   0 :zzz: ±0  1 files   ±0   0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 23 - Group func_basis

2 files  ±0  2 suites  ±0   2m 35s :stopwatch: +4s 7 tests ±0  7 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  9 runs  ±0  9 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group build_different_envs

5 tests  ±0   5 :white_check_mark: ±0   34s :stopwatch: +10s 1 suites ±0   0 :zzz: ±0  1 files   ±0   0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group build_env_failure

 2 files  ±0   2 suites  ±0   2m 40s :stopwatch: ±0s  8 tests ±0   8 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  10 runs  ±0  10 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group bugs

 2 files  ±0   2 suites  ±0   4m 8s :stopwatch: - 1m 28s 12 tests ±0  12 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  14 runs  ±0  14 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group coded_mock

7 tests  ±0   7 :white_check_mark: ±0   1m 54s :stopwatch: +2s 1 suites ±0   0 :zzz: ±0  1 files   ±0   0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group flask_icon

9 tests  ±0   9 :white_check_mark: ±0   2m 31s :stopwatch: -9s 1 suites ±0   0 :zzz: ±0  1 files   ±0   0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group func_atg

2 files  ±0  2 suites  ±0   2m 31s :stopwatch: ±0s 7 tests ±0  7 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  9 runs  ±0  9 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group coded_tests

 1 files  ±0   1 suites  ±0   6m 48s :stopwatch: -11s 16 tests ±0  16 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  17 runs  ±0  17 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group import_coded_test

5 tests  ±0   5 :white_check_mark: ±0   37s :stopwatch: -1s 1 suites ±0   0 :zzz: ±0  1 files   ±0   0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group basic_user_interactions

 9 files  ±0   9 suites  ±0   13m 19s :stopwatch: + 1m 46s 25 tests ±0  25 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  43 runs  ±0  43 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group func_basis

2 files  ±0  2 suites  ±0   2m 25s :stopwatch: -7s 7 tests ±0  7 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  9 runs  ±0  9 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group env_atg

2 files  ±0  2 suites  ±0   7m 32s :stopwatch: +18s 7 tests ±0  7 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  9 runs  ±0  9 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group env_basis

2 files  ±0  2 suites  ±0   8m 48s :stopwatch: +15s 7 tests ±0  7 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  9 runs  ±0  9 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group unit_atg

2 files  ±0  2 suites  ±0   3m 1s :stopwatch: ±0s 7 tests ±0  7 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  9 runs  ±0  9 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

E2e Test results - Vcast 24 - Group unit_basis

2 files  ±0  2 suites  ±0   3m 57s :stopwatch: +3s 7 tests ±0  7 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  9 runs  ±0  9 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit c2aa6a8c. ± Comparison against base commit e643e928.

:recycle: This comment has been updated with latest results.