Skip to content
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

Coverage value in VSC status bar isn't in line with the value shown in VectorCAST GUI #2

Open
joyyuansh opened this issue Jul 26, 2023 · 1 comment
Assignees

Comments

@joyyuansh
Copy link

joyyuansh commented Jul 26, 2023

Currently, the code coverage is an accumulative calculation value. But it seems not in line with the value displayed in VectorCAST GUI.
image

From the users perspective, I would prefer the statement, branch and MC/DC coverage displayed separately like this.
image

The reproduce steps are listed below.

  1. Open the tutorial/c folder in VS Code
  2. In File Explorer, create an environment for the manager.c by the context menu 'Create VectorCAST environment'
  3. Switch to the Test Explorer UI, right click the environment 'MANAGER' and click context menu 'VectorCAST | Open Environment'
  4. Once the environment is opened in VectorCAST GUI, initialize the code coverage to Statement + MC/DC
  5. Insert basis path test cases for Place_Order
  6. Close the environment and VectorCAST GUI
  7. In Test Explorer UI, run all the tests under Place_Oder
  8. Right click the MANAGER node, and select 'VectorCAST | Open Environment', the code coverage is displayed at right side in status bar
@johnpaliotta
Copy link
Contributor

johnpaliotta commented Aug 8, 2023

Duplicated with 23sp2
Using characters to count covered and uncovered. See getCoverageData() ~line 275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants