unitauto-py
UnitAuto Python 库,可通过 pip 仓库等远程依赖。
UnitAuto Python Library for remote dependencies with pip, etc.
同步纯函数:
Sync pure function:
https://github.com/TommyLemon/unitauto-py/blob/main/unitauto/test/testutil.py#L39-L40
class 内成员函数:
class member function:
https://github.com/TommyLemon/unitauto-py/blob/main/unitauto/test/testutil.py#L111-L112
async & await 协程异步函数:
async & await function:
https://github.com/TommyLemon/unitauto-py/blob/main/unitauto/test/testutil.py#L63-L67
异步回调函数:
thread callback function:
https://github.com/TommyLemon/unitauto-py/blob/main/unitauto/test/testutil.py#L70-L83
代码覆盖率统计:
Code coverage:
使用
Usage
1. 在你的项目中添加依赖
1. Add dependency to your project
pip install unitauto
如果执行以上命令未成功,则将 pip 换成 pip3 试试:
if you cannot run the command successfully, try pip3:
pip3 install unitauto
2. 启动单元测试服务
2. Start unit testing server
添加以下代码到你的项目的 main.py
Add the code below in main.py of your project
https://github.com/TommyLemon/unitauto-py/blob/main/main.py#L3-L13
import unitauto
if __name__ == '__main__':
unitauto.server.start()
用 PyCharm 等 IDE 运行按钮来运行 main.py 或执行以下命令
Run main.py with PyCharm or execute command below
python main.py
如果执行以上命令未成功,则将 python 换成 python3 试试:
if you cannot run the command successfully, try python3:
python3 main.py
3. 参考主项目文档来测试
3. Test by following the main repo
https://github.com/TommyLemon/UnitAuto
4. 关于作者
4. Author
如果有什么问题或建议可以 去 APIAuto 提 issue,交流技术,分享经验。
如果你解决了某些 bug,或者新增了一些功能,欢迎 提 PR 贡献代码,感激不尽。
If you have any questions or suggestions, you can create an issue.
If you can added a feature or fixed a bug, please create a pull request, thank you~
5. 其它项目
5. Link
创作不易、坚持更难,右上角点量 ⭐ Star 支持下吧,谢谢 ^_^
Please ⭐ Star the repos that you like ^_^
UnitAuto 机器学习零代码单元测试平台,零代码、全方位、自动化 测试 方法/函数 的正确性、可用性和性能
unitauto-go UnitAuto Go 库,可通过 GitHub 仓库等远程依赖
APIJSON 🚀 腾讯零代码、全功能、强安全 ORM 库 🏆 后端接口和文档零代码,前端(客户端) 定制返回 JSON 的数据和结构
uliweb-apijson Python 版 APIJSON,支持 MySQL, PostgreSQL, SQL Server, Oracle, SQLite 等
APIAuto 敏捷开发最强大易用的 HTTP 接口工具,机器学习零代码测试、生成代码与静态检查、生成文档与光标悬浮注释,集 文档、测试、Mock、调试、管理 于一体的一站式体验
SQLAuto 智能零代码自动化测试 SQL 语句执行结果的数据库工具,任意增删改查、任意 SQL 模板变量、一键批量生成参数组合、快速构造大量测试数据
Metadata
Release files for unitauto 1.1.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 |
|---|---|---|---|---|
| unitauto-1.1.0.tar.gz | 19.0 kB | Without provenance | Details for unitauto-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unitauto-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for unitauto-1.1.0-py3-none-any.whl |
Total release size: 39.1 kB
Release files / unitauto-1.1.0.tar.gz
| Download URL | unitauto-1.1.0.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d6130836d1313a50db7fb463fcbb6d01ef7129a6b18d5e12f08a7ffd32b9db8
|
|
BLAKE2b-256 checksum How to use checksums |
e185256279077b8252e742cc4c0a9b3d48129a7e42abf33cabca933fe6d8aeb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / unitauto-1.1.0-py3-none-any.whl
| Download URL | unitauto-1.1.0-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4d281093f1087818a496cd2deef4ad2ec0b782ea356d7947a75086766e7b093
|
|
BLAKE2b-256 checksum How to use checksums |
03b1e8618ce7451f11a65b6a9c179ffea3fac1dfe016e1d9832c3512d9f484c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Security for unitauto 1.1.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.