Skip to content

Commit

Permalink
Added instructions to generate MCDC report
Browse files Browse the repository at this point in the history
  • Loading branch information
Den1552 committed Dec 20, 2024
1 parent 93956d3 commit c349369
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,40 @@ start of the function being tested.

You then simply need to set a breakpoint and use F5 to start the debugger.


### MCDC Report

The extension supports generating MC/DC reports for specific lines with MC/DC coverage. Follow the steps below to enable and generate these reports.

#### Steps to Enable MC/DC Reports

1. Configure Coverage Type
- Open the settings:
- Press `Ctrl + P` and select **Open Settings**.
- Navigate to:
**VectorCAST Test Explorer > Environment Build > Coverage Kind**.
- Select the desired coverage type:
- **MCDC** or **STATEMENT+MCDC**.

2. Rebuild the Environment:
- After setting the coverage type, the environment(s) will rebuild automatically.

3. Open an Instrumented File
- Open any C/C++ file that is instrumented in one of your environments.

4. View Coverage Icons
- Check the **coverage gutter** (the area left of the line numbers).
- For MC/DC-specific lines, coverage icons with arrows will appear:
- **Green**: Fully covered.
- **Yellow**: Partially covered.
- **Red**: Not covered.

5. Generate an MC/DC Report
- Right-click on a coverage icon.
- Select **VectorCAST MC/DC Report**.
- The report will open in a separate window on the right.


### VectorCAST Data Server

#### Introduction
Expand Down

0 comments on commit c349369

Please sign in to comment.