Skip to main content
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.

Installation

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

$ pip install pytest-azure-devops

Usage

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

jobs:
  - job: tests_parallel_ci
    strategy:
      parallel: 2

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

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

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.3.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_azure_devops-0.3.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file pytest_azure_devops-0.3.0.tar.gz.

File metadata

  • Download URL: pytest_azure_devops-0.3.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for pytest_azure_devops-0.3.0.tar.gz
Algorithm Hash digest
SHA256 901a57f01e87ef9312d8899a6e2770eeacadd46d6ff1a2caff30b48763e5a456
MD5 2b3b321cdc52d3d2c51da5bcb9aafe82
BLAKE2b-256 375dcdaf52a2a9e2b73ce8ac0b06aaad04add4b9802d9be17bb34c9b0de2856e

See more details on using hashes here.

File details

Details for the file pytest_azure_devops-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_azure_devops-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 defe1f2afb54926ec4b40c9e7e9ccfcd45824702623e884eb11c3573ba2ed64e
MD5 349a17e15cd0035d196d3f714e03e614
BLAKE2b-256 552f65372a700d53dd77c8bd52ca859c7ed3c79caa3f2dc3b60ffc93e6baf463

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page