[英]Where does the .runsettings file go?
I want to exclude some files from code coverage in our unit tests. 我想在单元测试中从代码覆盖中排除一些文件。 I've learned that the thing to use is a XML file with an extension of .runsettings.
我已经知道要使用的是一个扩展名为.runsettings的XML文件。 Where does the .runsettings file go?
.runsettings文件在哪里? Does it go in the unit test project?
它是否属于单元测试项目? Or does it go in the project that's being tested by the unit tests project?
或者它是否进入了由单元测试项目测试的项目? Or is the .runsettings file all by its lonesome under the solution?
或者.runsettings文件是否完全由解决方案下的寂寞?
I'm using VS 2015. 我正在使用VS 2015。
Put it wherver you like. 把它放在你喜欢的地方。 In VS 2015 you can specify the path and name for your .runsettings
在VS 2015中,您可以指定.runsettings的路径和名称
Menue: Test->Test Settings-> Select Test Settings File 菜单:测试 - >测试设置 - >选择测试设置文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.