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

Uploaded Python 3

File details

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

File metadata

  • Download URL: automaze_proof-0.20260313.1.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.20260313.1.tar.gz
Algorithm Hash digest
SHA256 da247af4b013ee0bc2d4d15e1b02558713a68bd2c8de261c8f1a91e8edb6512f
MD5 2d60cc8db5adc4908fcef8a85d406b0b
BLAKE2b-256 20f538bdbb0ad8048cdaf37b0a2dd2518cad8863bf0495d2946f160b8e120399

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for automaze_proof-0.20260313.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71594e9aab53c95988090056d3554bccbfbe932b02aec005d6ee6ecfe85ca433
MD5 9fa27a3bd0ae5b91a715b38becefc422
BLAKE2b-256 7dbc790e0c353e33ab9b370cf9856ee0dfc8d178ab0373541b6fd9bc0eda83ce

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