locked
Publish Test fails RRS feed

  • Question

  • 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.
    Thursday, June 14, 2007 2:00 PM

Answers

  • 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

    Tuesday, June 19, 2007 9:16 PM

All replies

  • 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

    Friday, June 15, 2007 11:25 PM
  • 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

    Monday, June 18, 2007 1:17 PM
  • 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 ?

     

     

     

     

    Tuesday, June 19, 2007 7:04 AM
  • 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

    Tuesday, June 19, 2007 9:16 PM
  • 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

    Wednesday, November 14, 2007 9:38 PM
  • 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

     

    Thursday, November 29, 2007 10:45 AM
  •  

    Iam facing same problem.

     

    I have integrated Test Partner with VSTS 2005 and i created a team build checking the option to run testlist (which contains functioanl test cases of test partner)

     

    I have installed test partner in the TFS / team build server .

     

    when running the build iam getting the  following error

     

     

    Summary
            -------
            MSBUILD : warning : Test Run Not Executed.
            The previous error was converted to a warning because the task was called with ContinueOnError=true.
              Not Executed  1
              ---------------
              Total         1
            Results file:      E:\R&DBuild_Dir\RND\testpartner\TestResults\32037_BSD-FUJITSU002 2008-03-25 14_19_20_Any CPU_Release.trx
            Run Configuration: Local Test Run
            Waiting to publish...
            Publishing results of test run 32037@BSD-FUJITSU002 2008-03-25 14:19:20_Any CPU_Release to http://bsd-fujitsu002: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".
            The previous error was converted to a warning because the task was called with ContinueOnError=true.
            Build continuing because "ContinueOnError" on the task "TestToolsTask" is set to "true".
        Done building target "RunTestWithConfiguration" in project "TFSBuild.proj".

        Done building project "TFSBuild.proj".
    Target CoreDropBuild:
        Creating directory "\\BSD-FUJITSU002\DropBuild\testpartner_20080325.1\Release".
        Copying file from "E:\R&DBuild_Dir\RND\testpartner\BuildType\..\Sources\..\Binaries\Release\Testbsdfujitsu.dll" to "\\BSD-FUJITSU002\DropBuild\testpartner_20080325.1\Release\Testbsdfujitsu.dll".

    Build succeeded.
    MSBUILD : warning : Test Run Not Executed.
    MSBUILD : warning : Publish Failed. Test Type not installed on the server for test type: "Compuware.TestPartner.FunctionalTest.RunConfig".
        2 Warning(s)
        0 Error(s)

    Thursday, March 27, 2008 10:23 AM