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
Danila Grobov
bb6e909355
Test Coverage for older django versions ( #24968 )
...
Related to this issue:
https://github.com/microsoft/vscode-python/issues/24199
@mcobalchinisoftfocus Discovered an issue with older django versions,
which didn't have the main function in the manage.py
https://github.com/microsoft/vscode-python/pull/24927#issuecomment-2779480139
I've fixed this issue by executing the code in manage.py with __name__
set to __main__ instead of relying on main function being there.
I've also adjusted the test, so that it would cover this case.
2025-04-07 13:43:40 -07:00
Danila Grobov
e9fb2bf146
Django Test Runs with Coverage ( #24927 )
...
https://github.com/microsoft/vscode-python/issues/24199
Co-authored-by: Danila Grobov (s4642g) <danila.grobov@seb.se>
2025-04-03 23:29:09 +00: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