Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/unit-testing/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2010 如何在竹子中测试多个MS单元测试项目_Visual Studio 2010_Unit Testing_Mstest_Bamboo - Fatal编程技术网

Visual studio 2010 如何在竹子中测试多个MS单元测试项目

Visual studio 2010 如何在竹子中测试多个MS单元测试项目,visual-studio-2010,unit-testing,mstest,bamboo,Visual Studio 2010,Unit Testing,Mstest,Bamboo,我想在VS2010中的单个解决方案中添加多个Ms单元测试项目,并想在Bambol CI中的单个快照中执行所有项目测试用例 在竹子中,我可以使用项目dll测试单个项目,但不能执行在多个项目中编写的测试 我在google上试过,发现.vsmdi文件可以实现这一功能,但无法破解如何将所有测试用例添加到vsmdi文件中 请帮帮我 Vsmdi文件如下所示: <?xml version="1.0" encoding="UTF-8"?> <TestLists xmlns="http://mi

我想在VS2010中的单个解决方案中添加多个Ms单元测试项目,并想在Bambol CI中的单个快照中执行所有项目测试用例

在竹子中,我可以使用项目dll测试单个项目,但不能执行在多个项目中编写的测试

我在google上试过,发现.vsmdi文件可以实现这一功能,但无法破解如何将所有测试用例添加到vsmdi文件中

请帮帮我

Vsmdi文件如下所示:

<?xml version="1.0" encoding="UTF-8"?>
<TestLists xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<TestList name="Lists of Tests" id="8c43106b-9dc1-4907-a29f-aa66a61bf5b6">
  <RunConfiguration id="68cd1a40-fbe7-4a52-bc91-47f0ca5ea70a" name="Local" storage="local.testsettings" type="Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration, Microsoft.VisualStudio.QualityTools.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</TestList>
</TestLists>


您尝试过什么?添加vsmdi文件有很好的文档记录。添加测试后,测试将自动发现并添加到VSDMI中的测试列表中。当我在多个项目中添加了多个测试用例时,系统创建的.vsmdi项目不包含所有测试用例条目。我更新了有问题的vsmdi xml,请参阅。您是否构建了解决方案,然后单击测试列表编辑器选项卡中的“刷新”??