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.
精彩评论