lzrrush
lzrrush
采纳率100%
2019-05-19 16:47 阅读 1.6k

关于vscode测试的问题,No tests discovered, please check the configuration settings for the tests.

图片说明
每次打开vscode,都会弹出这个窗口。我尝试搜了一下网上的方法,有这种问题的貌似很少,仅找到的几个也解决不了

下面是我的settings.json,求前辈帮忙看看如何解决~
{
"python.pythonPath": "E:\Anaconda3\python.exe",
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.testing.pyTestArgs": [
"platforms"
],
"python.testing.unittestEnabled": true,
"python.testing.nosetestsEnabled": false,
"python.testing.pyTestEnabled": false,
"python.testing.unittestArgs": [
"-v",
"-s",
".",
"-p",
"test_*.py"
],
"python.testing.nosetestArgs": [
"platforms"
]
}

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

相关推荐