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

Added MCDC Report feature #243

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Added MCDC Report feature #243

wants to merge 8 commits into from

Conversation

Den1552
Copy link
Contributor

@Den1552 Den1552 commented Nov 22, 2024

Summary

Added an MC/DC report feature that allows the user to generate a report for a specific line. The report opens in a separate WebviewPanel, similar to the test generation report. Lines that are interactable are visually highlighted in the editor.

Usage

  1. Ensure that Statement+MCDC is selected under Settings → VectorCAST Test Explorer → Build → Coverage Kind. If this setting is not selected, the coverage gutter will display the standard coverage icons and will not be interactable.

  2. To generate a report, right-click on the coverage icon and choose Get MCDC Report. The report will open in a separate WebviewPanel.

  3. In Settings → VectorCAST Test Explorer → MCDC Coverage Gutter Icons, you can choose to display either an arrow or an M as the icon in the coverage gutter.

TODOs

  • Write a server-side implementation for retrieving the MCDC lines for the coverage icons, if necessary
  • Refactoring

Copy link

sonarcloud bot commented Nov 22, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

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

Successfully merging this pull request may close these issues.

1 participant