Skip to main content

A blazing-fast toolkit to generate test cases using pytest framework.

Project description

Fyre Tool Kit

介绍

一款使用pytest框架生成测试用例的便捷开发工具包.

软件架构

软件架构说明

特点:

  • YAML -> Pydantic模式验证
  • 强制字段检查
  • 生成与pytest兼容的测试模块(每个test_suite一个模块)
  • 用于将生成的测试写入磁盘的实用程序

发布包到 Gitea PyPI 包注册表

  1. 配置包注册表以编辑本地 ~/.pypirc 文件
[distutils]
index-servers = gitea
[gitea]
repository = https://gitea.example.com/api/packages/{owner}/pypi
username = {username}
password = {password}
占位符 描述
owner 包的所有者。
username 您的 Gitea 用户名。
password 您的 Gitea 密码。如果您使用 2FA 或 OAuth,请使用个人访问令牌代替密码。
  1. 通过运行以下命令发布包
$ uv run python3 -m twine upload --repository gitea /path/to/files/*
  1. 从包注册表安装 PyPI 包,执行以下命令:
$ uv pip install --index-url https://{username}:{password}@gitea.example.com/api/packages/{owner}/pypi/simple --no-deps {package_name}
参数 描述
username 您的 Gitea 用户名。
password 您的 Gitea 密码或个人访问令牌。
owner 包的所有者。
package_name 包的名称。
例如:
$ uv pip install --index-url https://xxx:xxxx@gitea.example.com/api/packages/testuser/pypi/simple --no-deps test_package

您可以使用 --extra-index-url 代替 --index-url,但这会使您容易受到依赖混淆攻击,因为 pip 在检查指定的自定义仓库之前会检查官方 PyPi 仓库中的包。阅读 pip 文档以获取更多信息。

安装包以供其他项目使用

  1. 以“可编辑”模式安装本地项目
$ uv pip install -e <project_dir>
  1. 从 VCS 以“可编辑”模式安装项目
$ uv pip install -e "fyre-toolkit@git+https://gitea.com/marc_pango/fyre_toolkit.git"   # 从 git 安装

参与贡献

  1. 克隆本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建工单和Pull Request

参考资料表

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

fyre_toolkit-0.1.20.tar.gz (58.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fyre_toolkit-0.1.20-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file fyre_toolkit-0.1.20.tar.gz.

File metadata

  • Download URL: fyre_toolkit-0.1.20.tar.gz
  • Upload date:
  • Size: 58.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fyre_toolkit-0.1.20.tar.gz
Algorithm Hash digest
SHA256 74ef7230af6c4ad043d91320c10cce46a12032293ae17d0855fdb71142d2eb83
MD5 2fe794c417d2979194e2fd56045bb2ea
BLAKE2b-256 efe2a8cdf01974e611f1e2268ef5a12f28ba3cd5d451a3d564969946247219e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for fyre_toolkit-0.1.20.tar.gz:

Publisher: test.yml on pxy0592/fyre_toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fyre_toolkit-0.1.20-py3-none-any.whl.

File metadata

  • Download URL: fyre_toolkit-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fyre_toolkit-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 02c053ca69d12f72c56c952b41fe626b0a026f5e48a5d55efcd76f333ecb8ec4
MD5 eed0c229df30f453ec7e0d1fb20bee48
BLAKE2b-256 ac061d1f93f7b73d5bd93536bf3554f896d94b010b8c7df248c094d96b7548dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for fyre_toolkit-0.1.20-py3-none-any.whl:

Publisher: test.yml on pxy0592/fyre_toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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