This is a migrated thread and some comments may be shown as answers.

Cannot view result details for TFS CI test run

4 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris Johnson
Top achievements
Rank 1
Chris Johnson asked on 18 Feb 2010, 10:50 PM
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:

 

 

 

    <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.

4 Answers, 1 is accepted

Sort by
0
Missing User
answered on 19 Feb 2010, 12:10 AM
Hello Chris,

I'll confer with a coworker who knows more on the CI build process.

We'll get back to you as soon as we can and appreciate your patience on this.

Thanks and Regards,
Nelson SIn
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Chris Johnson
Top achievements
Rank 1
answered on 19 Feb 2010, 04:11 AM
I appreciate your looking at this, Nelson. Here is some additional information.
 
The problem exists only for tests defined in .aii files. I have a test project containing three types of tests:

1. WebAii tests (files with extension .aii, no code steps)
2. WebAii vsunit tests
3. Regular vsunit tests

I put all the tests into one test list, and run the build. I load the results file in Visual Studio and I can see the detailed results for all tests except the .aii tests. I assume if I convert the .aii tests to unit tests, I'll see result details, but I'd like to keep them as .aii so I can leverage the storyboard and other features.
0
Accepted
Cody
Telerik team
answered on 19 Feb 2010, 10:30 PM
Hello Chris Johnson,

This is a test result type registration problem with our installer. I apologize for this error. The next release will have this fixed. In the mean time you can fix this yourself using the attached files and these instructions:

Attached are two .reg files that you can use to fix the "test type implementation is not available" problem. The one named “Fix UnknownTestTypeSpecificData Error x64.reg” is for 64-bit Windows only. The one named “Fix UnknownTestTypeSpecificData Error.reg” is for 32-bit windows only.

  1. Save the file you need for your OS to your desktop.
  2. Double click on it to start the import process into your registry.
  3. Answer Yes to the “Are you sure you want to continue?” prompt.
  4. Now restart Visual Studio and the error should be gone.

If you continue having problems, let me know.

Sincerely yours,
Cody
the Telerik team


Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Chris Johnson
Top achievements
Rank 1
answered on 21 Feb 2010, 09:23 PM
Thanks Cody - that fixed the problem on both 32 and 64 bit OS!
Tags
General Discussions
Asked by
Chris Johnson
Top achievements
Rank 1
Answers by
Missing User
Chris Johnson
Top achievements
Rank 1
Cody
Telerik team
Share this question
or