问题描述
在Microsoft测试管理器中运行测试时,出现错误消息:测试运行的生成目录不存在或需要访问权限.
When I'm running the test in Microsoft Test Manager I get an error: The build directory of the test run either does not exist or access permission is required.
是什么意思?在哪里可以查看构建目录?
What does it mean? Where can I check build directory?
推荐答案
我想您正在运行自动测试.
如果您在 Microsoft Test Manageg (MTM)中运行自动化测试,则您的 Test Case(s)由测试实现自动化.
因此, MTM 需要知道构建测试的构建的放置位置在哪里.
If you are running automated test in Microsoft Test Manageg (MTM) you have Test Case(s) automated by your test implementation.
So MTM need to know where is the drop location of the build building your tests.
这意味着您必须:
- 创建一个构建定义,以构建实现您的测试的代码.
- 配置 MTM 以使用此构建定义的放置位置.
- Create a Build definition that build the code implementing your tests.
- Configure MTM to use the drop location of this build definition.
您可以在此处检查当前正在使用哪个版本的 MTM :
You can check which build MTM is currently using here:
(我想您会在那里站着 undefined ).
(I suppose you will have "undefined" standing there.)
您可以在此处配置要使用的内部版本:
You can configure which build is to use here:
只需在这里检查如何配置运行测试时使用的构建的测试计划:创建和定义测试计划
Just check here how to configure your Test Plan which build to use when running tests: Creating and Defining a Test Plan
此外,我强烈建议您使用此免费电子书:使用Visual Studio 2012测试连续交付
Additionally I would highly recommend you this free e-book: Testing for Continuous Delivery with Visual Studio 2012
这篇关于无法使用Microsoft测试管理器运行我的测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!