无法使用 Microsoft 测试管理器运行我的测试 [英] Couldn't run my test using Microsoft Test Manager

查看:24
本文介绍了无法使用 Microsoft 测试管理器运行我的测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 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) 中运行自动化测试,那么您的测试实施会自动测试用例.
所以 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.

这意味着你必须:

  1. 创建一个构建定义,用于构建实现您的测试的代码.
  2. 配置 MTM 以使用此构建定义的放置位置.
  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:

(我想你会有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 测试管理器运行我的测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆