简体   繁体   中英

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.

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.
So MTM need to know where is the drop location of the build building your tests.

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.

You can check which build MTM is currently using here:

在此输入图像描述

(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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM