forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed as not planned
Labels
area-testingtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Testing #24160
Python extension - v2024.15.2024092301 (pre-release)
- Using the test repo https://github.com/eleanorjboyd/inc_dec_example_repo/
- Configure unittests
- Run tests with Coverage
Coverage is enabled, adding branch coverage as an argument.
Running pytest with args: ['-p', 'vscode_pytest', '--rootdir=/Users/demohan/github/inc_dec_example_repo', '--cov=.', '--cov-branch', '/Users/demohan/github/inc_dec_example_repo/inc_dec_example_test_suite/test_two_classes.py::ClassA::test_a1', '/Users/demohan/github/inc_dec_example_repo/inc_dec_example_test_suite/test_two_classes.py::ClassA::test_a2', '/Users/demohan/github/inc_dec_example_repo/inc_dec_example_test_suite/test_two_classes.py::ClassB::test_b1', '/Users/demohan/github/inc_dec_example_repo/inc_dec_example_test_suite/test_two_classes.py::ClassB::test_b2']
ERROR: usage: run_pytest_script.py [options] [file_or_dir] [file_or_dir] [...]
run_pytest_script.py: error: unrecognized arguments: --cov=. --cov-branch
inifile: None
rootdir: /Users/demohan/github/inc_dec_example_repo
Metadata
Metadata
Assignees
Labels
area-testingtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team