Integration With Microsoft Visual Studio and Azure DevOps

Applies to TestComplete 14.40, last modified on April 22, 2021

Microsoft Visual Studio includes tools and technologies for all members of software development teams: project architects, developers, managers and, of course, testers. TestComplete can integrate with these tools giving your Quality Assurance team the ability to:

  • Run unit tests created with Visual Studio as part of your TestComplete projects:

    TestComplete integration with Visual Studio: Run Visual Studio unit tests from TestComplete

    Click the image to enlarge it.

  • Run TestComplete tests directly from your MSBuild projects:

    XML

    <!-- File: MSBUILD.proj -->

    <Project DefaultTargets="Build"
      xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     
      <!-- Declares the task type that will run TestComplete projects--> 
      <UsingTask TaskName="TC14.ExecuteSolution" AssemblyName= "MSBuildTC14Task, Version=1.1.0.0,
    Culture=neutral, PublicKeyToken=e33f56e68d0f845e"/>

     …

    </Project>

  • Include your TestComplete tests into your Visual Studio test projects and run them locally the same way you run Visual Studio native tests (like unit tests):

    TestComplete integration with Visual Studio: Run TestComplete tests from Visual Studio

    Click the image to enlarge it.

  • Integrate TestComplete tests into your team projects managed with Azure DevOps or Team Foundation Server. To learn more about it, see Integration With Azure DevOps and Team Foundation Server.

In other words, you can mix tests created in both products and make your testing flexible and powerful.

In This Section

Running Visual Studio Unit Tests From TestComplete

Describes how you can run Visual Studio unit tests from TestComplete projects.

Running TestComplete Tests From MSBuild Projects

Explains how to integrate TestComplete projects into MSBuild projects.

Run TestComplete Tests From Visual Studio

Describes how to run TestComplete tests from Visual Studio.

Install Integration Package

Describes how to install the integration package that is shipped with TestComplete and that allows running TestComplete tests from Visual Studio.

Related Topics of Interest

Integration With Azure DevOps and Team Foundation Server

Describes how to include TestComplete tests into your build or release pipelines and how to assign TestComplete tests to test cases.

(Legacy) (Obsolete) Integration With Azure DevOps and Team Foundation Server via TCTest Item

Describes legacy integration with Azure DevOps Services and Team Foundation Server. This integration was adopted in TestComplete versions prior to version 14.20. If you have a newer TestComplete version, we do not recommend that you use this integration.

See Also

Working With TestComplete

Highlight search results