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'

Release files for pytest-azure-devops 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-azure-devops 0.3.0
File Size Uploaded
pytest_azure_devops-0.3.0.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-azure-devops 0.3.0
File Interpreter ABI Platform
pytest_azure_devops-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.9 kB

Release files / pytest_azure_devops-0.3.0.tar.gz

Download URL pytest_azure_devops-0.3.0.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
901a57f01e87ef9312d8899a6e2770eeacadd46d6ff1a2caff30b48763e5a456
BLAKE2b-256 checksum
How to use checksums
375dcdaf52a2a9e2b73ce8ac0b06aaad04add4b9802d9be17bb34c9b0de2856e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / pytest_azure_devops-0.3.0-py3-none-any.whl

Download URL pytest_azure_devops-0.3.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
defe1f2afb54926ec4b40c9e7e9ccfcd45824702623e884eb11c3573ba2ed64e
BLAKE2b-256 checksum
How to use checksums
552f65372a700d53dd77c8bd52ca859c7ed3c79caa3f2dc3b60ffc93e6baf463
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page