Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
测试套件将不会加载到VSCode Ruby测试资源管理器中_Ruby_Visual Studio Code_Test Explorer - Fatal编程技术网

测试套件将不会加载到VSCode Ruby测试资源管理器中

测试套件将不会加载到VSCode Ruby测试资源管理器中,ruby,visual-studio-code,test-explorer,Ruby,Visual Studio Code,Test Explorer,我试图利用VSCode的Ruby测试浏览器扩展,但它无法加载我的测试套件 我的测试都在我根目录的./test/文件夹中。这是我的测试资源管理器设置: "rubyTestExplorer.testFramework": "rspec", "rubyTestExplorer.rspecCommand": "rspec", "rubyTestExplorer.rspecDirectory": "./test/", "rubyTestExplorer.logpanel

我试图利用VSCode的Ruby测试浏览器扩展,但它无法加载我的测试套件

我的测试都在我根目录的./test/文件夹中。这是我的测试资源管理器设置:

    "rubyTestExplorer.testFramework": "rspec", 
    "rubyTestExplorer.rspecCommand": "rspec",
    "rubyTestExplorer.rspecDirectory": "./test/", 
    "rubyTestExplorer.logpanel": true
记录器输出显示以下内容:

[2020-05-22 17:10:53.877][INFO]运行Ruby测试[“根”] [2020-05-22 17:10:53.878][INFO]运行完整的测试套件。 [2020-05-22 17:10:53.878][INFO]正在运行的命令:rspec--require/Users/Home/.vscode/extensions/connorshea.vscode-ruby-test-adapter-0.7.1/custom_formatter.rb--format CustomFormatter [2020-05-22 17:10:54.095][DEBUG][CHILD PROCESS OUTPUT]START_OF_TEST_JSON{“version”:“3.9.2”,“messages”:[“未找到示例],“examples”:[],“summary”:“{“duration”:0.000242,“example_count”:0,“failure_count”:0,“pending_count”:0,“errors_OF_OF_examples_count”:0},“summary_line”:“0示例,0失败”}结束_TEST JSON_测试” [2020-05-22 17:10:54.096][DEBUG]解析以下JSON: [2020-05-22 17:10:54.096][DEBUG]{“版本”:“3.9.2”,“消息”:[“未找到示例],“示例”:[],“摘要”:{“持续时间”:0.000242,“示例计数”:0,“失败计数”:0,“待定计数”:0,“示例计数以外的错误”:0},“摘要行”:“0示例,0失败”} [2020-05-22 17:10:54.102][INFO]子进程已退出。正在发送测试运行完成事件

测试资源管理器面板保持空白