This question is locked. New answers and comments are not allowed.
I have a TFS build definition that builds my test project and executes a testlist on our continuous integration build server. It runs successfully and the tests pass. However, when I load the test run file (.TRX) into Visual Studio, I can view the overall test results in the Test Results window, but not individual test results. In the results grid, every row (test) has the error message:
"Warning: only a part of test result was loaded because test type implementation is not available."
I looked at the .TRX file in a text editor, and the detailed results are all present. Something is preventing Visual Studio from loading them. This happens only for a TFS build. If I run the tests locally, I am able to view the full details.
I used the TFS build wizard to generate TFSBuild.proj, and this is the code it generated for the test run:
"Warning: only a part of test result was loaded because test type implementation is not available."
I looked at the .TRX file in a text editor, and the detailed results are all present. Something is preventing Visual Studio from loading them. This happens only for a TFS build. If I run the tests locally, I am able to view the full details.
I used the TFS build wizard to generate TFSBuild.proj, and this is the code it generated for the test run:
<MetaDataFile Include="$(BuildProjectFolderPath)/../../DevBranch/FunctionalTests/CITests/CITests.vsmdi"> |
<TestList>PingNodes</TestList> |
</MetaDataFile> |
Looks normal to me, and like I said the tests run succesfully. Anyone see this before?
Thanks in advance.