简体   繁体   English

无法使用Microsoft Test Manager运行我的测试

[英]Couldn't run my test using Microsoft Test Manager

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. 当我在Microsoft Test Manager中运行测试时,我收到一个错误:测试运行的构建目录不存在或者需要访问权限。

What does it mean? 这是什么意思? Where can I check build directory? 我在哪里可以查看构建目录?

I suppose you are running automated tests. 我想你正在运行自动化测试。

If you are running automated test in Microsoft Test Manageg (MTM) you have Test Case(s) automated by your test implementation. 如果您在Microsoft Test Manageg (MTM)中运行自动化测试,则测试实例会自动执行测试用例。
So MTM need to know where is the drop location of the build building your tests. 因此, MTM需要知道构建测试的构建的放置位置在哪里。

That means you have to: 这意味着你必须:

  1. Create a Build definition that build the code implementing your tests. 创建构建定义 ,构建实现测试的代码。
  2. Configure MTM to use the drop location of this build definition. 配置MTM以使用此构建定义的放置位置。

You can check which build MTM is currently using here: 您可以在此处检查MTM当前使用的构建版本:

在此输入图像描述

(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 只需在此处查看如何配置运行测试时要使用的构建测试计划创建和定义测试计划

Additionally I would highly recommend you this free e-book: Testing for Continuous Delivery with Visual Studio 2012 此外,我强烈推荐您这个免费的电子书: 使用Visual Studio 2012进行持续交付测试

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将伪造物与Microsoft Test Manager(MTM)2012中的测试计划相关联以运行CUIT自动测试 - How to associate a Fake Build to the test plan in Microsoft Test Manager (MTM)2012 in order to run CUIT automated test 在Microsoft测试管理器中查看测试用例摘要 - View Test Case summary in Microsoft Test Manager MIcrosoft测试管理器和代码覆盖率 - MIcrosoft Test Manager and Code Coverage Microsoft测试管理器中的单元测试 - Unit-tests in Microsoft Test Manager 当我通过Microsoft测试管理器运行测试用例时,为什么MTM尝试加载错误版本的CodedUITestFramework DLL? - Why is MTM attempting to load the wrong version of CodedUITestFramework DLL when I run a test case via Microsoft Test Manager? 如何安装用于Microsoft Test Manager的自定义诊断数据适配器? - How to install a custom diagnostic data adapter for use in Microsoft Test Manager? 在Microsoft测试管理器中的探索性会话中创建测试用例仅显示最后10个步骤 - Creating a test case from exploratory session in Microsoft test manager only shows last 10 steps “创建新的Lab Center环境时,”Microsoft Test Manager无法在这些计算机上安装测试代理“ - “Microsoft Test Manager cannot install test agent on these machines” when creating new Lab Center environment Resharper 7:MSTest不工作​​ - “测试未运行” - Resharper 7: MSTest not working - “Test wasn't run” 为什么我的测试项目没有出现在测试资源管理器上 - why my test project doesn't appear on test explorer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM