vectorgrp / vector-vscode-vcast

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

Added tests for uncovered lines in pythonUtilities.ts #165

Closed Den1552 closed 3 months ago

Den1552 commented 3 months ago

Summary

This PR adds new test cases for previously uncovered lines in pythonUtilities.ts.

Changes

Note

Since process.argv cannot be mocked in two test cases within the same file, there are two separate files to test pythonUtilities.ts.

github-actions[bot] commented 3 months ago

Unit Test results

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

Results for commit 69dd7bd8. ± Comparison against base commit 88a38146.

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

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 100.00%. Comparing base (b6511a5) to head (69dd7bd). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #165 +/- ## ============================================ + Coverage 84.44% 100.00% +15.55% ============================================ Files 6 6 Lines 958 957 -1 Branches 125 127 +2 ============================================ + Hits 809 957 +148 + Misses 24 0 -24 + Partials 125 0 -125 ``` | [Flag](https://app.codecov.io/gh/vectorgrp/vector-vscode-vcast/pull/165/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/165/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%> (+15.55%)` | :arrow_up: | 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 3 months ago

E2e Test results - Vcast 23 - Group flask_icon

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

Results for commit 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 23 - 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 23 - Group func_basis

2 files  ±0  2 suites  ±0   2m 31s :stopwatch: -8s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 23 - Group bugs

 2 files  ±0   2 suites  ±0   4m 9s :stopwatch: +34s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 23 - Group unit_basis

2 files  ±0  2 suites  ±0   3m 53s :stopwatch: -13s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group build_env_failure

 2 files  ±0   2 suites  ±0   2m 40s :stopwatch: +2s  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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 23 - Group env_basis

2 files  ±0  2 suites  ±0   8m 29s :stopwatch: -11s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group bugs

 2 files  ±0   2 suites  ±0   4m 2s :stopwatch: -34s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 23 - Group basic_user_interactions

 9 files  ±0   9 suites  ±0   11m 13s :stopwatch: -7s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group coded_tests

 1 files  ±0   1 suites  ±0   6m 31s :stopwatch: -13s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group flask_icon

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

Results for commit 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group func_atg

2 files  ±0  2 suites  ±0   2m 19s :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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group env_atg

2 files  ±0  2 suites  ±0   7m 9s :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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group basic_user_interactions

 9 files  ±0   9 suites  ±0   11m 28s :stopwatch: +10s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group func_basis

2 files  ±0  2 suites  ±0   2m 31s :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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group unit_atg

2 files  ±0  2 suites  ±0   2m 59s :stopwatch: -1s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group env_basis

2 files  ±0  2 suites  ±0   8m 32s :stopwatch: +10s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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

github-actions[bot] commented 3 months ago

E2e Test results - Vcast 24 - Group unit_basis

2 files  ±0  2 suites  ±0   3m 41s :stopwatch: -11s 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 69dd7bd8. ± Comparison against base commit 88a38146.

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