pytestifyx
pytestifyx is a pytest-based automation testing framework for api, ui, app testing
安装
使用 uv (推荐)
# 安装 uv (如果尚未安装)
curl -LsSf https://astral.sh/uv/install.sh | sh
# 克隆项目
git clone https://github.com/jaylu2018/PyTestifyx.git
cd PyTestifyx
# 使用 uv 安装依赖
uv sync
# 激活虚拟环境并安装项目
uv run pip install -e .
使用 pip
pip install pytestifyx
使用方法
CLI 命令
# 查看帮助
uv run pytestifyx --help
# 查看版本
uv run pytestifyx --version
# 创建测试项目
uv run pytestifyx --project
# 解析 fiddler saz 文件
uv run pytestifyx --parse
作为 pytest 插件
pytestifyx 会自动注册为 pytest 插件,提供额外的测试功能和中文支持。
# 运行测试
uv run pytest
# 使用 pytestifyx 功能
uv run python -c "from pytestifyx import TestCase, log; print('pytestifyx ready!')"
开发
# 克隆项目
git clone https://github.com/jaylu2018/PyTestifyx.git
cd PyTestifyx
# 安装开发依赖
uv sync
# 运行测试
uv run pytest
# 构建项目
uv build
许可证
Apache License 2.0
Metadata
Release files for pytestifyx 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytestifyx-0.10.0.tar.gz | 53.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytestifyx-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 115.7 kB
Release files / pytestifyx-0.10.0.tar.gz
| Download URL | pytestifyx-0.10.0.tar.gz |
|---|---|
| Size | 53.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2fdc83fbf6bebb93060d875fb590e8b08278c27eb9738f2acc1d82d703fed91
|
|
BLAKE2b-256 checksum How to use checksums |
f997685bd2c85a975d7cb1247acb1c6d2ff3ddfe59102819a8abcbedb533dfc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.19
|
Release files / pytestifyx-0.10.0-py3-none-any.whl
| Download URL | pytestifyx-0.10.0-py3-none-any.whl |
|---|---|
| Size | 62.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12e0564520f33245015a9b66e8609823c50cc26f9d62ef4e7c0d1ab626c45b4b
|
|
BLAKE2b-256 checksum How to use checksums |
55cdbb807fb286eb1e9dff6994fa1fb35b6bee6bee865b5bebf554f60b0eea3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.19
|