Skip to main content
Version: 9.0.0

Azure DevOps integration

Test Maker runs in all CI environment the same. Test Maker can integrate with Azure DevOps.

Installation

Before working with Test Maker, ensure that you have Azure Test Plans enabled and that the user has access to it.

For guidance on connecting Azure Boards to GitHub, refer to this documentation: How to Connect Azure Boards to GitHub.

Important:

To connect Azure Boards to GitHub, the following prerequisites must be met:

  1. You must have an Azure Boards or Azure DevOps project. If you don't have a project yet, create one.
  2. You must be a member of the Project Administrators group. If you created the project, you have these permissions.
  3. You must be an administrator or owner of the GitHub repository you want to connect to. You can connect to multiple GitHub repositories as long as you have administrator permissions for each repository.

Once these prerequisites are met, you can start configuring your pipeline:

  1. Create new Pipeline.
  2. Select GitHub as a source of code: img.png
  3. Select the repository you want to use as a source of code.
  4. Select Node.js as a runner. Azure_node.png
  5. Edit the default yml file (example of the yml file):

trigger:
- main

pool:
vmImage: ubuntu-latest

steps:
- task: NodeTool@0
inputs:
versionSpec: '22.x'
displayName: 'Install Node.js'
- checkout: self
lfs: true

- script: |
rm -rf ./package-lock.json
rm -rf ./node_modules
npm install
npm run test:ci
displayName: 'npm install and build'
  1. Commit the azure-pipelines.yml file to the main or new branch:
    Azure_yml_file_commit.png
  2. Save your changes.
  3. Now you can run the pipeline: Azure_run_pipeline.png.

To enable Allure report, go to the Marketplace and install the extension, then add following to the azure-pipelines.yml file:

- task: PublishAllureReport@1
displayName: 'publish allure report'
inputs:
testResultsDir: "dist/reports/allure/results"

Allure report will be generated and attached to the test execution logs:

Azure_Allure.png