graph LR
Pytest_Plugin_Entrypoint_pytest_configure_["Pytest Plugin Entrypoint (pytest_configure)"]
Distribution_Mode_Evaluator__is_distribution_mode_["Distribution Mode Evaluator (_is_distribution_mode)"]
Pytest_Plugin_Entrypoint_pytest_configure_ -- "calls" --> Distribution_Mode_Evaluator__is_distribution_mode_
Distribution_Mode_Evaluator__is_distribution_mode_ -- "informs" --> Pytest_Plugin_Entrypoint_pytest_configure_
The Pytest Plugin Integration subsystem encompasses the initial setup and configuration logic of pytest-xdist as it integrates with the core pytest framework. Its boundaries are defined by the components responsible for parsing pytest-xdist-specific command-line arguments, determining the execution mode (distributed vs. non-distributed), and preparing the pytest session for the subsequent orchestration of distributed test execution. This subsystem acts as the initial bridge between the standard pytest execution flow and pytest-xdist's distributed capabilities.
This component serves as the primary orchestrator for pytest-xdist's initial setup within the pytest framework. It is responsible for parsing command-line arguments specific to pytest-xdist, configuring the pytest session for distributed execution, and initiating the overall distributed test run. It embodies the "Main Process/Coordinator" role by preparing the environment for subsequent worker management.
Related Classes/Methods:
This component acts as a crucial decision-making helper. Its responsibility is to evaluate the current pytest session's configuration and command-line arguments to determine whether pytest-xdist's distributed execution features should be enabled. This function ensures that pytest-xdist only activates its distributed logic when explicitly requested or configured, serving as a guard for the distributed execution flow.
Related Classes/Methods: