MSTest /noisolation 测试失败
如果我将 MSTest 与参数 /noisolation 一起使用,我的测试就会失败,但如果没有它,它们就会通过。 如果我第一次运行不带参数的 MSTest,则会出现 ms office 配置框并配置一些内容,因为我的测试依赖于 excel。这只是第一次发生。然后测试就可以顺利运行。
但如果我使用参数运行测试,该框不会出现并且测试失败。
If I use MSTest with the parameter /noisolation my tests fail, but without it they pass.
If I run MSTest without the parameter for the first time a ms office configuration box appears and configures something because my tests depend on excel. this happens only the first time. then the test runs trough without problems.
but if I run my test with the parameter the box doesn't appear and tests fail.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论