microsoft / microsoft/PTVS

Skip tests after clicking “Analyze Code Coverage”.

Open
#6,936 25 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

P2 waiting for upstream
Dominant language
C#
Stars
2.6k
Forks
680
Avg merge
39m
Merged PRs (30d)
1

Description

Describe the bug

image

Python install from Microsoft Store

Steps to Reproduce

  1. From Test Explorer, select Analyzer Code Coverage for Selected Tests

    image

  2. Check Output Window / Tests pane for a warning message indicating that 'coverage' package must be installed.

Expected behavior

Output Window / Tests pane for a warning message indicating that 'coverage' package must be installed. Then it runs successfully.

Additional context and screenshots

image

Output Info

Building Test Projects
========== Starting test run ==========
cd C:\Users\vting\source\repos\PythonApplication8\PythonApplication8\
set PYTHONPATH=C:\Users\vting\source\repos\PythonApplication8\PythonApplication8;C:\Users\vting\source\repos\PythonApplication8\PythonApplication8\
"C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3056.0_x64__qbz5n2kfra8p0\python3.9.exe" "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PREVIEW\COMMON7\IDE\EXTENSIONS\MICROSOFT\PYTHON\CORE\visualstudio_py_testlauncher.py" -t test_1.Test_test_1.test_A -r 51370
Failed to execute tests because the process has already exited.
Connected to socket
========== Test run finished: 1 Tests (0 Passed, 0 Failed, 1 Skipped) run in 3.2 sec ==========

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.