Thursday, November 29, 2007

Those pesky TestType doesn't exsists error messages

Recently I had some problems with publishing of the test results for our test runs performed with a tool called AutomatedQA TestComplete.

No matter what we did the only message we got back was:

Publish Failed. Test Type not installed on the server for test type: "TestComplete6.VSI.Tests.TestCompleteTest"
After a fair ammount of digging I finally found the solution and this applies to any custom test type used together with TFS (so I figured I'd share the information).

As you can read in the documentation regarding custom test types you not only have to install the test type on the machine i has to be available in the probe path for the web services as well.
Test type extension assemblies must be installed to two locations on the applicationtier computer:

To support the publishing Web service, install test type extension assemblies to this folder: Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Build\bin. This service publishes test results from Visual Studio to the application tier.

To support the data warehouse adapter, install test type assemblies to this folder: Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Warehouse\bin\Plugins. This adapter pushes test result data into the data warehouse for reporting.
This MSDN documentation section explains it all Packaging and Installing Test Type Extensions in Visual Studio Team System

And if you are considering writing your own custom test type be sure to read through this Creating Custom Test Types in Visual Studio Team System.

I didn't find all that much information around this when digging around the net but this article gives some pointers on writing custom test types as well Create a Custom Test Interface Provider for Team System

No comments:

Post a Comment