Skip to main content

Simplifies using azure devops parallel strategy ( with pytest.

Project description

PyPI version Python versions See Build Status on Azure DevOps

Simplifies using azure devops azure devops parallel strategy with pytest.

Instead of using a powershell as in ParallelTestingSample-Python to do the test selection we we can tell pytest to directly take care of selecting the right subset.

This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.


You can install “pytest-azure-devops” via pip from PyPI:

$ pip install pytest-azure-devops


Just pip install pytest-azure-devops before running pytest on azure devops and make sure you use

  - job: tests_parallel_ci
      parallel: 2

    - script: python -m pip install --upgrade pytest-azure-devops
      displayName: 'Install dependencies'

    - script: python -m pytest mytests
      displayName: 'Run pytest'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-azure-devops-0.2.0.tar.gz (8.9 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page