Commit Graph

12 Commits

Author SHA1 Message Date
Eleanor Boyd 4b7650e042
support branch coverage for testing (#24980)
fixes https://github.com/microsoft/vscode-python/issues/24976
2025-04-14 13:04:06 -07:00
Eleanor Boyd 3e7d8e17b3
support setting only `--cov-report` arg (#24225)
fixes https://github.com/microsoft/vscode-python/issues/24168. We should
support `--cov-report=` set without the need to set `--cov=` since the
default (`--cov=.`) will work for many users
2024-10-02 15:34:28 -07:00
Eleanor Boyd 710d3c80f2
Remove branch coverage and refactor coverage.py methods for accessing (#24180)
Removing branch coverage from the payload as the initial way it was
being discovered / added was not documented / in the coverage.py API and
therefore is not guaranteed to be stable. Removing for now with plans to
add upstream and re-include in the extension here

coverage PR: https://github.com/microsoft/vscode-python/pull/24118
2024-09-25 14:19:59 -07:00
Eleanor Boyd 8268131ebf
Implementation of Test Coverage (#24118)
fixes https://github.com/microsoft/vscode-python/issues/22671
2024-09-18 08:33:28 -07:00
Eleanor Boyd ef7c7e3aed
switch to using temp file for test_ids (#24054)
first step in work on
https://github.com/microsoft/vscode-python/issues/23279

---------

Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
2024-09-05 13:02:38 -07:00
Brett Cannon 462b9bf2cb
Enable explicit Ruff check rules (#23741)
Co-authored-by: Rafał <23004737+rafrafek@users.noreply.github.com>
2024-07-09 13:01:15 -07:00
Eleanor Boyd 312d9efd93
add sys config scripts path to test execution path (#23418)
resolves https://github.com/microsoft/vscode-python/issues/22395
2024-05-14 10:19:47 -07:00
Andrea Bruno d99e74e993
Fixes `KeyError: 'params'` when running tests (#23397)
fixes https://github.com/microsoft/vscode-python/issues/23396
2024-05-09 17:21:57 +00:00
Karthik Nadig 0f6606c369
Switch to using named pipes for test communication (#22390)
Resolves https://github.com/microsoft/vscode-python/issues/22177.
Switches to using named pipes as communication between extension and
test run subprocesses.

---------

Co-authored-by: eleanorjboyd <eleanorboyd@microsoft.com>
2024-04-16 08:18:37 -07:00
Brett Cannon e931bed3ef
Move to Ruff for formatting (#23060)
Also set the line length to 100.
2024-03-12 15:35:53 -07:00
Brett Cannon 7ea5584291
Add linting rules for ruff (#22741)
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
Co-authored-by: eleanorjboyd <eleanorboyd@microsoft.com>
2024-03-12 12:24:59 -07:00
Karthik Nadig 27783cea76
Rename `pythonFiles` to `python_files` (#22921) 2024-03-01 13:27:50 -08:00