我有一个 Web 测试,我们称它为 WebTestParent,它调用另一个 Web 测试 WebTestChild。当我从 IDE 运行它时没有问题,但是当我尝试使用 mstest 从命令行运行它时,如下所示:
C:\MySolution> mstest.exe /testmetadata:"Tests.vsmdi" /test:"WebTestParent.webtest" /testsettings:"local.testsettings"
我收到此错误:
Cannot find the test 'WebTestChild' with storage 'C:\MySolution\somesubfolder\WebTestChild.webtest'.
文件 local.testsettings 已选中“启用部署”。
有没有人经历过这个,也许找到了解决方案?
谢谢。