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: strmode: strduration: intlabel: str | None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automaze_proof-0.20260313.2.tar.gz.
File metadata
- Download URL: automaze_proof-0.20260313.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e320fc7a4aa4ba2fed96749198ddd6028dae394c0298ed02548c4f616efe4f1
|
|
| MD5 |
a7ab5a5c11cd38f6022b5ccbc86b4964
|
|
| BLAKE2b-256 |
342a07a42a90ee21e43f33582e7c003ae906500b4a0e1dca464fdbbe99ffa862
|
File details
Details for the file automaze_proof-0.20260313.2-py3-none-any.whl.
File metadata
- Download URL: automaze_proof-0.20260313.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8ea7bb941930b82f121283dac08d87bf7e30ede2a0820f3c1a1756109f12d13
|
|
| MD5 |
a085e73d34f41024a4662b2f76573c70
|
|
| BLAKE2b-256 |
7d8372dbaa783a191c15a7c6b5f8ca58a9a86e932e7cc01ea7b7b1ec34b74eb0
|