使用Fakes / Shims的测试在服务器上失败,但在本地成功 [英] Tests that use Fakes/Shims fail on server, but succeed in local

查看:62
本文介绍了使用Fakes / Shims的测试在服务器上失败,但在本地成功的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Fakes / Shims的测试在构建服务器上失败,但在本地成功。

Tests that use Fakes/Shims fail on build server, but succeed in local.

当我删除使用填充程序的测试时,以下错误消失了。我是否需要在构建服务器上进行任何特定配置?

This following error is gone when I remove the test that uses shims. Do I need to do any specific configuration on build server?

在旁注中,我在我的specflow测试用例中使用了填充程序。

On a side note, I'm using shims in my specflow test cases.




推荐答案

朋友,

>>使用Fakes / Shims的测试在构建时失败服务器,但在本地取得成功。

根据您发布的信息,它可以在本地运行,您的构建服务器设置可能存在问题,请参阅 到文档:

Based on the info you posted, it works locally, you probably have a problem in your build server settings, please refer to the doc:

准备构建服务器

 

祝你好运,

Fletcher


这篇关于使用Fakes / Shims的测试在服务器上失败,但在本地成功的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆