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.20260316.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.20260316.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for automaze_proof-0.20260316.0.tar.gz
Algorithm Hash digest
SHA256 e36f7d365a50f0c8524d0357a49bcf3fd5738bb5a9cfb9e6f1bcc53a4c29e063
MD5 35892d66d2fba9d3b07b1ae470a0edc6
BLAKE2b-256 a5479f75335bb80e5929a3f21f15e2d3e98d542971f4e309331e3c017c865f00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for automaze_proof-0.20260316.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b620512fb1a5f8e1de2fa6e28fd3772f16bfd9539e91a0bdbc6f052d9785bbc
MD5 23b56250e0a6628d5c5abd6f689e7d79
BLAKE2b-256 d47d380a5ba140086716ee9e6808b2bf87464083409322fd1f9806d33b246c33

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