forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Django test coverage #25664
Copy link
Copy link
Open
Labels
area-testingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds community feedbackAwaiting community feedbackAwaiting community feedback
Metadata
Metadata
Assignees
Labels
area-testingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds community feedbackAwaiting community feedbackAwaiting community feedback
While unit tests for Django do run correctly now, coverage does not.
python.testing.unittestArgslets us configure the settings needed for unit tests to work, but with django to collect coverage, we need something akin topython.testing.unittestPathto allow for using thecoveragecommand line to start the capture.Currently, the test with coverage output looks like:
But the command part needs to change from:
python ./manage ....to:
coverage run ./manage ...So, something that would allow that to be configured, or possibly just accounted for in a setting would be great.