PfyreQAguy

This post is in regards to the Compuware TestPartner and Visual Studio Team Systems integration.

I have created a Team Build Type which executes several tests. Each test list entry contains a single unit test. There are Compuware functional tests included in the test project however they are not executed during the build at this time. TestPartner is installed on the build machine AND the Team Foundation server and the database credentials have been set. Whenever the build is triggered the tests run fine and all pass, however the overall run status of the test fails because of the following (this is the error in the build log)....

Results file: C:\PATH_TO_TESTS\TestResults\tfsservice_BUILDTEST2 2007-06-10 08_01_28_Any CPU_Release.trx
Run Configuration: Local Test Run
Waiting to publish...
Publishing results of test run tfsservice@BUILDTEST2 2007-06-10 08:01:28_Any CPU_Release to http://TFS_SERVER_IP:8080/Build/v1.0/PublishTestResultsBuildService.asmx...
Publish Failed. Test Type not installed on the server for test type: "Compuware.TestPartner.FunctionalTest.RunConfig".
MSBUILD : warning : Publish Failed. Test Type not installed on the server for test type: "Compuware.TestPartner.FunctionalTest.RunConfig".

Does anyone know what the problem might be I have tried to research this error and so far have found nothing useful.

Thanks.


Re: Visual Studio Team System - Testing Publish Test fails

David R. Williamson MSFT

Hi,

It sounds like you have a custom test type installed on your workstation to be able to work with Compuware. Is that custom test type also installed on the Team Build server

Cheers,

David






Re: Visual Studio Team System - Testing Publish Test fails

PfyreQAguy

Compuware's TestPartner Visual Studio integration is installed on the Team Build server as well as the Team Foundation server. Do you know how I can tell if a custom test type is installed

Thanks





Re: Visual Studio Team System - Testing Publish Test fails

Shrweta

Hi,

Thanks for reply

You are right, custom test type installation is there. But again my question is what kind of installation require

i.e. Typical or Full






Re: Visual Studio Team System - Testing Publish Test fails

David R. Williamson MSFT

Hi,

You need all the same stuff installed on the Team Build server as you would on a client machine to run tests. I'm not familiar with the Compuware stuff, so I can't say exactly what you'd need. If you can load up VS and run the tests manually on the Team Build machine, then it should work from the TeamTest Build Task.

Cheers,

David






Re: Visual Studio Team System - Testing Publish Test fails

Jason Watson

Do i need to install anything extra to get this to work. I have done everything in here. Found nothing with Compuware in regards to this.

Any additional help would be great.


Jason





Re: Visual Studio Team System - Testing Publish Test fails

Peter Blomqvist

I had the same problems with TestComplete and the trick is to make the test type know for the web services as well you can read about it in my blog post:

http://peterblomqvist.blogspot.com/2007/11/those-pesky-testtype-doesnt-exsists.html

Cheers,

Peter