Azure DevOps Exporter

Azure DevOps Exporter is a tool used to export test cases into Azure Test Plans.

Features:

  • Create and update test cases

Azure DevOps Export Properties

The properties marked with bold are mandatory.
Property Default value Acceptable values Description

azure-devops-exporter.json-results-directory

string

Path to directory with test execution JSON results.

The path is managed by the bdd.report-directory property which default value is output/reports/jbehave relatively to the tests directory.

Please make sure that the bdd.configuration.formats property includes JSON value in order to generate test execution results.

azure-devops-exporter.organization

string

The name of the Azure DevOps organization.

azure-devops-exporter.project

string

Project ID or project name.

azure-devops-exporter.area

string

The area of the product which a test case is associated with.

azure-devops-exporter.section-mapping.steps

AUTOMATED

AUTOMATED or MANUAL

The scenario part to export into Steps section of Test Case work item, the remaining scenario part is exported into Summary section.

Authentication properties

Property Acceptable values Description

azure-devops.username

string

Username from Azure DevOps

azure-devops.password

string

Personal access token

Scenario Meta Attributes

Name Example Description

testCaseId

@testCaseId STUB-0

Map scenario to Azure DevOps test case in 1 to 1 relation

azure-devops.skip-export

@azure-devops.skip-export

Skip test case while exporting

Export

  • Download Exporter JAR

  • Create a file called application.properties and put there all necessary properties

  • Run the following command with replacing <jar name> with existing jar name previously downloaded

java -jar <jar name> -Dspring.config.location=classpath:/application.properties,./application.properties