I'm running my python project in a virtualenv. Pytest is installed in the virtualenv, and not available at the system scope.
Every time I save a python file, PyCov-Test output gives : /bin/sh: 1: py.test: not found and the status bar shows Highlight: uncovered Current File -- Lines: - Misses: - Cover: -%.
However the coverage highlighting does work since my test suite run command does produce the .coverage file.
Maybe the status bar could be updated when updateCache is called ?
I'm running my python project in a virtualenv. Pytest is installed in the virtualenv, and not available at the system scope.
Every time I save a python file,
PyCov-Test
output gives :/bin/sh: 1: py.test: not found
and the status bar showsHighlight: uncovered Current File -- Lines: - Misses: - Cover: -%
.However the coverage highlighting does work since my test suite run command does produce the
.coverage
file.Maybe the status bar could be updated when
updateCache
is called ?https://github.com/rduldulao/py-coverage-view/blob/master/src/extension.ts#L311 does not seem to run the
py.test
command in the currently active virtualenv.