0

Been scratching my head for a while with this and I thought I would ask here. I am trying to run automated tests with tcm via command prompt. I have set up and configured a test controller and agent. Tcm is recognizing all the tests from tfs when I list etc. Created a test run and the results came back: Total:128 Passed:0 Failed:128 Inconclusive:128 Does this have something to do with the Controller or Agent not being set up properly? Would tcm recognize the tests if they were not set up properly? I have set up a lab environment and I can access the controller PC. Any help would be greatly appreciated.

Thanks Russ

R.Johnston
  • 13
  • 3
  • Is it possible for you to watch them executing so you can see when/how they are failing? – Rescis Feb 21 '18 at 20:37
  • The tests do not execute by tcm. It just tries to execute them comes up with the 128 failed. I can run them perfectly through visual studio (run all). When I try vstest and a test from the dll file, i can see it running (although it does fail because the pathname is too long, but that's a different issue). – R.Johnston Feb 22 '18 at 13:09
  • Ok found an error in MTM for the test run 'The build directory of the test run either does not exist or access permission is required'. Looked where it points to and indeed the directory is not there. – R.Johnston Feb 22 '18 at 14:58

1 Answers1

0

Based on the information that "The build directory of the test run either does not exist or access permission is required", from steps 6 and 7 of this MSDN documentation:

  • Create and Define a build definition
  • Copy a build directory with the relevant information into this solution

This may also have relevant information if the above doesn't work

Rescis
  • 547
  • 5
  • 19