- 1、安装pytest 框架使用
- 2、编写 yaml 测试用例,使用 pytest 运行的命令
- 3、extract 功能实现多个接口步骤的参数关联
- 4、全局登录一次,在用例中自动在请求头部添加token认证
- 5、用例参数化 parameters 功能实现
- 6、yaml 中调用 fixture 功能实现
- 7、yaml 中调用辅助函数功能使用
- 8、用例分层机制:API和用例层
- 9、支持 logging 日志
- 10、支持 allure 报告
- 11、支持mysql 数据库增删改查
- 12、支持Lark通知
Raw data
{
"_id": null,
"home_page": "https://github.com/leo/Autotest_api",
"name": "Autotest-api",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "pytest,py.test,pytest-yaml,Autotest_api",
"author": "Prince",
"author_email": "994991952@qq.com",
"download_url": "https://files.pythonhosted.org/packages/42/14/457f0e5938a9366fa6c773d04e6299de182abf989cbf09de0e79d4e68d60/Autotest_api-1.5.2.tar.gz",
"platform": null,
"description": "- 1\u3001\u5b89\u88c5pytest \u6846\u67b6\u4f7f\u7528\n- 2\u3001\u7f16\u5199 yaml \u6d4b\u8bd5\u7528\u4f8b\uff0c\u4f7f\u7528 pytest \u8fd0\u884c\u7684\u547d\u4ee4\n- 3\u3001extract \u529f\u80fd\u5b9e\u73b0\u591a\u4e2a\u63a5\u53e3\u6b65\u9aa4\u7684\u53c2\u6570\u5173\u8054\n- 4\u3001\u5168\u5c40\u767b\u5f55\u4e00\u6b21\uff0c\u5728\u7528\u4f8b\u4e2d\u81ea\u52a8\u5728\u8bf7\u6c42\u5934\u90e8\u6dfb\u52a0token\u8ba4\u8bc1\n- 5\u3001\u7528\u4f8b\u53c2\u6570\u5316 parameters \u529f\u80fd\u5b9e\u73b0\n- 6\u3001yaml \u4e2d\u8c03\u7528 fixture \u529f\u80fd\u5b9e\u73b0\n- 7\u3001yaml \u4e2d\u8c03\u7528\u8f85\u52a9\u51fd\u6570\u529f\u80fd\u4f7f\u7528\n- 8\u3001\u7528\u4f8b\u5206\u5c42\u673a\u5236\uff1aAPI\u548c\u7528\u4f8b\u5c42\n- 9\u3001\u652f\u6301 logging \u65e5\u5fd7\n- 10\u3001\u652f\u6301 allure \u62a5\u544a\n- 11\u3001\u652f\u6301mysql \u6570\u636e\u5e93\u589e\u5220\u6539\u67e5\n- 12\u3001\u652f\u6301Lark\u901a\u77e5\n",
"bugtrack_url": null,
"license": "proprietary",
"summary": "http/https API run by yaml",
"version": "1.5.2",
"project_urls": {
"Homepage": "https://github.com/leo/Autotest_api"
},
"split_keywords": [
"pytest",
"py.test",
"pytest-yaml",
"autotest_api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "10390714018391ae98afba4aa3f22f0d0902d16b53c17cc04506f0e6a9330f87",
"md5": "dc48392dc0d145099622c597a8e4645d",
"sha256": "088977f95982c6cdb2af0786effdc6ce36f0ffc9744944aa14f81cb287242137"
},
"downloads": -1,
"filename": "Autotest_api-1.5.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "dc48392dc0d145099622c597a8e4645d",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.9",
"size": 37134,
"upload_time": "2023-12-22T13:16:12",
"upload_time_iso_8601": "2023-12-22T13:16:12.016580Z",
"url": "https://files.pythonhosted.org/packages/10/39/0714018391ae98afba4aa3f22f0d0902d16b53c17cc04506f0e6a9330f87/Autotest_api-1.5.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4214457f0e5938a9366fa6c773d04e6299de182abf989cbf09de0e79d4e68d60",
"md5": "0cffb20ac40401757f7cfb0dbef4ae69",
"sha256": "7f8355f5946d39e23c47015c4264ce6712c4a5816665bcc3f7843004799ce923"
},
"downloads": -1,
"filename": "Autotest_api-1.5.2.tar.gz",
"has_sig": false,
"md5_digest": "0cffb20ac40401757f7cfb0dbef4ae69",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 31189,
"upload_time": "2023-12-22T13:16:14",
"upload_time_iso_8601": "2023-12-22T13:16:14.273052Z",
"url": "https://files.pythonhosted.org/packages/42/14/457f0e5938a9366fa6c773d04e6299de182abf989cbf09de0e79d4e68d60/Autotest_api-1.5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-22 13:16:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "leo",
"github_project": "Autotest_api",
"github_not_found": true,
"lcname": "autotest-api"
}