Skip to main content

Capture visual evidence of test execution

Project description

automaze-proof

Python SDK for proof -- capture visual evidence of test execution.

Thin wrapper around the proof CLI. Requires the binary on PATH.

Install

pip install automaze-proof

The proof binary must be installed separately:

curl -fsSL https://automaze.io/install/proof | sh

Usage

from proof import Proof

p = Proof(app_name="my-app", proof_dir="./evidence")

recording = p.capture(
    command="pytest tests/ -v",
    mode="terminal",
    label="unit-tests",
)

print(recording.path)      # /abs/path/unit-tests-143012.html
print(recording.duration)  # 4300

p.report()

pytest fixture

# conftest.py
import pytest
from proof import Proof

@pytest.fixture(scope="session", autouse=True)
def proof_session():
    p = Proof(app_name="my-app", proof_dir="./evidence")
    yield p
    p.report()

API

Proof(app_name, proof_dir=None, run=None, description=None)

proof.capture(command, mode="terminal", label=None, description=None) -> Recording

proof.report(format=None) -> str | list[str]

Recording (dataclass)

  • path: str
  • mode: str
  • duration: int
  • label: str | None

Project details


Download files

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

Source Distribution

automaze_proof-0.20260313.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

automaze_proof-0.20260313.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file automaze_proof-0.20260313.0.tar.gz.

File metadata

  • Download URL: automaze_proof-0.20260313.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for automaze_proof-0.20260313.0.tar.gz
Algorithm Hash digest
SHA256 210b8d6a140056db6344281ee6c5b98a40f8d8262f4ffec98fc44ae8cb962c20
MD5 1db2beabb51d532bf8fe8f764bf14f3d
BLAKE2b-256 05bf4c8bd5ae25ba807e1bb16de09a154e62ccac70dc73c408561dc3b87dbcf2

See more details on using hashes here.

File details

Details for the file automaze_proof-0.20260313.0-py3-none-any.whl.

File metadata

File hashes

Hashes for automaze_proof-0.20260313.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acb02ba9e0c5797a284b646dc91ea6e24923f8ce52ae7a0921ec14b8710e40b6
MD5 83ebe69a27db0283825e6f91ab8edcd8
BLAKE2b-256 a6ff2b94e22692d06ed6b6b348a74cba84ea62fd897c1eb9f68d68e4cce05476

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