更新时间:2024-07-26 GMT+08:00
分享

启动配置示例

以下是一个可运行的启动配置示例,该示例从 “test_file_name::test_class_name::test_method_name” 运行测试。

{
   "excludeTestIds": [],
   "request": "test",
   "jinja": true,
   "python": "${command:python.interpreterPath}",
   "stopOnEntry": false,
   "redirectOutput": true,
   "env": {},
   "type": "python",
   "logToFile": false,
   "testIds": [
      "test_file_name::test_class_name::test_method_name"
   ],
   "cwd": "${workspaceFolder}",
   "subProcess": false,
   "justMyCode": true,
   "provider": "UNITTEST",
   "pythonArgs": [],
   "name": "Python unittest tests",
   "showReturnValue": true
}

相关文档