我为 Visual Studio 代码安装了覆盖范围扩展,但没有显示行覆盖范围,当我按覆盖范围显示覆盖范围或按页脚中的“监视”选项时,它显示“找不到覆盖范围文件”
在此 github 中没有提及任何有关配置覆盖文件或任何内容
https://github.com/ryanluker/vscode-coverage-gutters
这是我正在使用unittest的测试之一的代码
class Test_SetValuesService(unittest.TestCase):
def test_given_none_property_when_checking_if_none_return_empty(self):
#ASSERT
self.assertEqual(" ", setValuesService.check_if_json_property_is_null(""))
Run Code Online (Sandbox Code Playgroud)
我收到的错误是一条消息“无法找到覆盖文件!”
python coverage.py python-3.x python-unittest visual-studio-code