Testim Documentation

Welcome to the Testim documentation. You'll find comprehensive guides to help you get started quickly, example code snippets, and tips for being more productive. You will also find details about advanced features that allow you to customize Testim to fit your environment or special testing conditions. Don't worry, we'll support you if you get stuck. Let's jump right in!

Guides    Changelog

VSTS and TFS integration

​In order to integrate your tests with VSTS/TFS, first you need to have docker installed on the VSTS/TFS agent.

Now, just follow these steps:

  1. Go to Build page

​2. Create a new build

​3. Select your repository

  1. Select empty job
  1. Add task
  1. Add Docker task
  1. Select Action: Run a Docker command
  1. Set the Command with the appropriate parameters, as described in the CLI page. Here is the basic command template.
run --rm -v $(Build.BinariesDirectory):/opt/testim-runner testim/docker-cli --token <TOKEN> --project <PROJECT-ID> --grid <GRID-NAME> --report-file /opt/testim-runner/testim-sanity-$(Build.BuildId)-report.xml

Note: For the grid name, read here how to set up your grid.

  1. In order for VSTS/TFS to store, analyze and show the results, we generate a standard JUnitXMLReporter XML file.
    For VSTS/TFS to use the file you need to add a Publish Test Results task
  1. Select Test result format: JUnit
  1. Set the Test results files value, according to the "report-file" parameter in section 8 and set the
  1. Set the Search folder $(Build.BinariesDirectory)
  1. Save the build settings

Updated 2 years ago

VSTS and TFS integration

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.