Run azure devops tests from octopus

How to run azure devops tests from octopus? Each test case is associated to automated test script. Ideally would like to run the test plans in the same way as described below

Hi @kman, thanks for reaching out.

Octopus does not have any native steps that can be used to execute Azure tests in the same way Azure Devops does with the Visual Studio Test task step.

You can however trigger builds in VSTS / Azure Devops from Octopus using either the REST API (https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.0) or the vsts cli (https://docs.microsoft.com/en-us/cli/vsts/overview?view=vsts-cli-latest).

So in that scenario the tests would be defined in Azure Devops and then an Octopus script step would call a command like vsts build queue to start the test in Azure Devops.

Regards
Matt C

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.