pytest-xdistpytest

Distribute Python test execution across multiple workers to speed up slow test suites and make bottlenecks visible before they dominate CI time.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pytest-xdistpytest" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b509f9be9c8927c6944c8546e5f4162da9acb10166e82828579cafe8d810889a. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/parallelize-large-pytest-suites-and-isolate-slow-feedback-loops-with-pytest-xdist before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Distribute Python test execution across multiple workers to speed up slow test suites and make bottlenecks visible before they dominate CI time.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Python environment, pytest, pytest-xdist, and a pytest-compatible test suite with enough local or CI worker capacity to parallelize
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 pytest-xdist 并行化大型 pytest 测试套件并隔离缓慢的反馈循环"
slug: "parallelize-large-pytest-suites-and-isolate-slow-feedback-loops-with-pytest-xdist"
version: "1.0.0"
displayName: "使用 pytest-xdist 并行化大型 pytest 测试套件并隔离缓慢的反馈循环"
summary: "将Python测试执行分散到多个工作进程中,使慢速测试套件能够更快完成,同时让瓶颈在它们主导CI时间之前显现出来。
```"
license: "MIT"
description: "将Python测试执行分散到多个工作器上,使慢速测试套件能够更快完成,同时让瓶颈在它们主导CI时间之前显现出来。"
github_stars: 1832
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "CI/CD Integrations"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 1832

使用 pytest-xdist 并行化大型 pytest 测试套件并隔离缓慢的反馈循环

Fan out Python test execution across workers so slow suites finish faster and bottlenecks show up before they dominate CI time.

Prerequisites

Python environment, pytest, pytest-xdist, and a pytest-compatible test suite with enough local or CI worker capacity to parallelize

Installation

Requirements and caveats from upstream:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供明确的 CI/CD 测试并行化解决方案,具有广泛的实用价值
Trigger Precision85/100

Highlights

  • 触发描述清晰完整,覆盖多种使用场景
Structure and Standards65/100

Areas to improve

  • 缺少具体使用示例 Reported severity: Minor

    文档缺少具体的命令示例和使用步骤

    Recommendation: 建议添加具体的 pytest-xdist 使用命令示例和分步说明

Highlights

  • 文档结构基本完整,包含必要的前置条件和安装说明
Execution Reliability70/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未说明常见错误的处理方式和故障排除方法

    Recommendation: 建议添加常见错误的处理指南和故障排除步骤

Highlights

  • 工具来源明确,参数说明正确
Evidence Verifiability (mean of the first four)74/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • pypi.python.org
  • pytest-xdist.readthedocs.io
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Python environment, pytest, pytest-xdist, and a pytest-compatible test suite with enough local or CI worker capacity to parallelize

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.