You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
β Test Plan: Verify Coverage Integration for Pytest & Unittest
π Objective
Ensure test branch coverage is correctly reported in VS Code using both pytest and unittest, and that the results align with the command-line coverage output (with minor rounding differences expected).
Uh oh!
There was an error while loading. Please reload this page.
Refs: #24980
Complexity: 4
Author: @eleanorjboyd
Create Issue
Create Issue
β Test Plan: Verify Coverage Integration for Pytest & Unittest
π Objective
Ensure test branch coverage is correctly reported in VS Code using both pytest and unittest, and that the results align with the command-line coverage output (with minor rounding differences expected).
π§ͺ Repo & Project Info
Project Structure:
π Setup
Clone this repo: coverage-example-repo
In VS Code, open the Command Palette β Python: Create Environment
If the UI does not prompt to install requirements, run:
β Part 1: Test with Pytest
β Part 2: Test with Unittest
β Part 3: Cross-check with CLI Coverage
Erase and re-run with unittest:
Confirm:
The text was updated successfully, but these errors were encountered: