pytestifyx is a pytest-based automation testing framework for api, ui, app testing
Project description
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
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
pytestifyx-0.10.0.tar.gz
(53.7 kB
view details)
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 pytestifyx-0.10.0.tar.gz.
File metadata
- Download URL: pytestifyx-0.10.0.tar.gz
- Upload date:
- Size: 53.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2fdc83fbf6bebb93060d875fb590e8b08278c27eb9738f2acc1d82d703fed91
|
|
| MD5 |
5e270310df0b35dd641911e80cbdabbf
|
|
| BLAKE2b-256 |
f997685bd2c85a975d7cb1247acb1c6d2ff3ddfe59102819a8abcbedb533dfc9
|
File details
Details for the file pytestifyx-0.10.0-py3-none-any.whl.
File metadata
- Download URL: pytestifyx-0.10.0-py3-none-any.whl
- Upload date:
- Size: 62.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12e0564520f33245015a9b66e8609823c50cc26f9d62ef4e7c0d1ab626c45b4b
|
|
| MD5 |
9725cbd27359cdf4d2e65289f41662fe
|
|
| BLAKE2b-256 |
55cdbb807fb286eb1e9dff6994fa1fb35b6bee6bee865b5bebf554f60b0eea3c
|