{"library":"pytest-azurepipelines","title":"pytest-azurepipelines","description":"pytest-azurepipelines is a plugin for the pytest testing framework that enhances its integration with Azure Pipelines. It formats pytest output to improve readability in the Azure Pipelines UI, automatically uploads test results, and integrates with pytest-cov for code coverage reporting. The current version is 1.0.5. Releases appear to be event-driven rather than on a fixed cadence, with significant updates in 2020 and 2022-2023.","language":"python","status":"active","last_verified":"Fri May 15","install":{"commands":["pip install pytest-azurepipelines"],"cli":{"name":"pytest","version":"pytest 9.0.3"}},"imports":["def test_example(record_pipelines_property):\n    record_pipelines_property('key', 'value')","import os\n\ndef test_attachment_example(add_pipelines_attachment):\n    # Create a dummy file for attachment\n    file_path = 'temp_attachment.txt'\n    with open(file_path, 'w') as f:\n        f.write('This is an attachment.')\n    add_pipelines_attachment(file_path, 'Temporary Test Data')\n    os.remove(file_path)"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# Example Azure Pipelines YAML snippet\nsteps:\n- script: |\n    python -m pip install --upgrade pip\n    pip install pytest pytest-azurepipelines\n    pip install -e . # Install your project's test dependencies\n    pytest tests/\n  displayName: 'Run Pytest with Azure Pipelines Plugin'","lang":"bash","description":"Install `pytest-azurepipelines` alongside `pytest` in your Azure Pipeline environment. The plugin automatically integrates with Azure Pipelines by running `pytest` in a script step, formatting output and uploading test results without further configuration.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-15","installed_version":"1.0.5","pypi_latest":"1.0.5","is_stale":false,"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":3.8,"avg_import_s":null,"wheel_type":"sdist"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"33.1M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":3.4,"import_time_s":null,"mem_mb":null,"disk_size":"34M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"36.8M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":3.3,"import_time_s":null,"mem_mb":null,"disk_size":"37M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"26.4M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":4.3,"import_time_s":null,"mem_mb":null,"disk_size":"27M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"26.2M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":4,"import_time_s":null,"mem_mb":null,"disk_size":"27M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"32.7M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"pytest-azurepipelines","exit_code":0,"wheel_type":"sdist","failure_reason":null,"import_side_effects":"broken","install_time_s":4,"import_time_s":null,"mem_mb":null,"disk_size":"33M"}]}}