Skip to main content

Core execution engine for a containerized pytest runner: pytest output parsing and summarisation, container file provisioning, and command assembly.

Project description

pytest-exec-core

Core execution engine for a containerized pytest runner.

This package provides the building blocks used by an HTTP-triggered pytest runner to execute test suites inside one-shot Docker containers:

  • Output parsing & summarisation — turn raw pytest console output into a compact pass/fail/skip summary with extracted failure reasons.
  • Container file provisioning — assemble the tar payload (plugins, test payloads, environment overrides) copied into a test container, and collect log artifacts back out.
  • Command assembly — build the pytest command line (xdist workers, plugins, payload file, log file) and resolve a test case path safely.

Install

pip install pytest-exec-core

Usage

from pytest_exec_core import (
    build_summary,
    payload_map,
    build_provision_tar,
    extract_container_dir,
    build_cmd,
    resolve_case,
    CasePathError,
)

License

Proprietary. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pytest_exec_core-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (790.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

File details

Details for the file pytest_exec_core-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pytest_exec_core-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dcbbea3f6c0fd17febc7eab98b7eb7feca9d87a69f9ac498262cc2e7aab122ea
MD5 265139fc4c7e86134b26d77f45afe6f2
BLAKE2b-256 4352478bbb0af0ef86b8ecdd3f0feea04b5da0f4f72abda71671d7c6258d6d7f

See more details on using hashes here.

Supported by

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