开发者

Running setup and cleanup scripts in Resharper for MSTest

I have tests running with MSTest. I use the .testsettings to run setup and cleanup scripts, needed to execute tests well.

We recently bought licenses for Resharper, and I'm trying to run the same tests using the test sessions in Resharper. Unfortunately,m most of them fail because setup and cleanup scripts are not executed correctly. For each script th开发者_运维技巧e path is relative to the location of the .testsettings file, and in resharper I configured tests to run from that directory.

Any help appreciated

Thanks


Remove your .testsettings dependencies and let your tests set up their dependencies in code. Resharper testrunner, and your tests in general, works better if everything is done in code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜