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

  • Go to the corresponding GitHub Packages repository

  • Find the link with name vividus-to-azure-devops-exporter-0.4.9-<timestamp>-<publishing-number>.jar

  • Click the link and download the exporter JAR-file

  • Create a new file with name application.properties and put all necessary properties there

  • Run the following command replacing <jar-file name> with the name of the JAR-file downloaded previously

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