Why are all my Visual Studio test results “Not executed”

前端 未结 7 1292
-上瘾入骨i
-上瘾入骨i 2020-12-29 05:07

When I run my unit tests in my project I am seeing a result \"Not executed\" for every one. I have restarted my computer so I doubt this is some kind of hung process issue.

7条回答
  •  没有蜡笔的小新
    2020-12-29 05:46

    Another reason for "Failed to queue test run 'XXX'. The path is not of a legal form." is that the account does not have a profile loaded.

    E.g. when you start mstest.exe with CreateProcessAsUser() and forget to call LoadUserProfile() as well.

提交回复
热议问题