Test automation framework inspired by NI TestStand, built on Prefect
Project description
PyTestFlow
PyTestFlow is a Python test executive built on top of Prefect. It turns decorated Python functions into traceable test steps and runs them in ordered flows.
Requires
prefect>=3.4and Python 3.10+.
Repositories
- Engine: https://github.com/Alberto-Manzoni/PyTestFlow
- Frontend: https://github.com/Alberto-Manzoni/PyTestFlow-FrontEnd
Installation
python -m pip install pytestflow
Init the workspace
pytestflow init
Set the environment variable as suggested from the CLI
Usage
pytestflow start
Open the web gui at the url indicated by the CLI.
Core concepts
- Steps are Prefect tasks defined using
@stepor specialized step decorators. - A
TestSequenceis a Prefect flow that aggregates and executes multiple steps, tracking their states. ptf_contextis a shared runtime context that provides access toglobals,locals,results, andcurrent_step.SequentialProcessModelorchestrates execution callbacks in a fixed lifecycle:pre_uut -> main_sequence -> post_uut -> report -> database_logging.- The main output of the process model is stored in both
main_resultsandmain_resultfor backward compatibility.
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 pytestflow-0.2.2.tar.gz.
File metadata
- Download URL: pytestflow-0.2.2.tar.gz
- Upload date:
- Size: 91.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae1f4c7b941647d3f0d6581d15aa0b20400cfcf2670a3dfaa37e6aa843118334
|
|
| MD5 |
40f804dd466511e2cd08ad87c6f43b3d
|
|
| BLAKE2b-256 |
a54af385bf88f144504484c1ee5e6bff1f1c22d9dd34981fafae5ced909b6730
|
File details
Details for the file pytestflow-0.2.2-py3-none-any.whl.
File metadata
- Download URL: pytestflow-0.2.2-py3-none-any.whl
- Upload date:
- Size: 106.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4329f3550b6414a71e8e8c0688ec589667315558a95ad3f169c623b06a0bccb
|
|
| MD5 |
f6bd1ebe61b7d49abfd08cf00eb57fbe
|
|
| BLAKE2b-256 |
ee0fae44cd74f0a021c8e4d9ea8911b86a08a54cc1526f77dae0669509cd2448
|