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

Uploaded Python 3

File details

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

File metadata

  • Download URL: automaze_proof-0.20260323.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.20260323.0.tar.gz
Algorithm Hash digest
SHA256 e67655671b7cd29a3f23aa693d074f864b3bfcb82f20ed8defe363faaecd4b35
MD5 ccea49249c5b60f705f2f12936612756
BLAKE2b-256 09725c3d6a7bdd1ff75e57ef63f177f515e4791b31152f7dc8e5e746403c5811

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for automaze_proof-0.20260323.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30e621483d1913b3dec95cde9557b66e1e10bbc78754c8b26cc488da8779fa52
MD5 b984edca6a100c0b22a691b3f12b8778
BLAKE2b-256 38d8e78b88a086fa0415aea9d74282d3b3a577b546802ce9897502e0d2715a97

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