Stoma
Stoma 是一个接口自动化和接口自动化测试工具,尝试实现「代码即协议」来解决如下问题:
- 代码中请求 HTTP 接口,IDE 不能自动联想接口参数,需要左边屏幕打开 IDE,右边屏幕在浏览器打开接口协议。
- 从响应中提取信息或者对响应断言时,同样需要左右对比查看结构。
指南
- 快速开始 — 安装并以真实接口为例介绍用法。
- 定义接口 — Stoma 中一个接口由接口路由、接口参数和响应协议组成。
- 接口请求和断言 — 使用
Client调用接口,对接口响应断言。 - 生成接口 — Stoma 提供了 CLI 命令基于 OpenAPI 协议自动生成接口。
实例
关于
关于 Stoma - 关于项目的说明。
Metadata
Release files for stoma 0.2.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 | Provenance | Actions |
|---|---|---|---|---|
| stoma-0.2.0.tar.gz | 769.4 kB | Without provenance | Details for stoma-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stoma-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for stoma-0.2.0-py3-none-any.whl |
Total release size: 849.2 kB
Release files / stoma-0.2.0.tar.gz
| Download URL | stoma-0.2.0.tar.gz |
|---|---|
| Size | 769.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
693f0642ae163ce7b82c85d793d3281f94864de66c720e0c336283f8a87a191c
|
|
BLAKE2b-256 checksum How to use checksums |
126e1bc686806e50703f65bc6fb3e70b213ef5e9d15768740ad8033303820a0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / stoma-0.2.0-py3-none-any.whl
| Download URL | stoma-0.2.0-py3-none-any.whl |
|---|---|
| Size | 79.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
069921df867d84be7f46ed69d83a27370c7518ee5203150d6c85a9b1039d472d
|
|
BLAKE2b-256 checksum How to use checksums |
e5a4c3c563b4d165c0b0368352dfd0f64288323df90198fe3f6f7904a115230f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for stoma 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.