New to Telerik Test Studio? Download free 30-day trial

TFS 2017 Builds Test Execution

TFS 2017 supports integration with external command line utility where ArtOfTest.Runner.exe can be used.

  1. Create a new build definition:

Empty Build Definition

  1. Choose Empty process template:

Empty Process Template

  1. Add a new build task. Choose Utility from the catalog on the left and select a Command line task:

Add a build task

  1. Once the step is created you need to provide the ArtOfTest.Runner.exe location and arguments to the command line. The default location of the tool is C:\Program Files (x86)\Progress\Test Studio\Bin. More details about the required arguments are here.

Configure CLI step

The root folder of the test project should be accessible from the TFS server. In the example we use a project stored on a shared location (source controlled project can be used as well).

  1. A TFS agent should be configured and it should be set to run in interactive mode. Further details how to download, install and configure the agent is in the Agent Queues section on TFS server control panel.

Agent Queues View

Once the agent is successfully installed, run it in interactive mode. It will be available in the Agents Queues view under the Default queue and will be marked green in case it is up and running or red in case the agent is not detected.

Agents Queue

  1. You can now queue the build from the Task view:

Queue a build

  1. The build will start the ArtOfTest.Runner and execute the tests or tests lists.

Build succeeded

In this article