automation test helper
Project description
该项目封装了测试人员写自动化代码的常用功能作为装饰器, 目标是能让测试人员更关注业务逻辑的实现,隐藏和业务逻辑无关的细节。 GitHub地址:https://github.com/thcpc/cjen
Release 1.0.1
get_mapping, put_mapping, post_mapping, delete_mapping, upload_mapping 增加json_clazz参数,作用同operate.json.factory
Release 1.0.2
-
- 修改metaMysql 没有数据时,是警告信息而不是错误信息
-
- 方便批量检查,增加了 context["cursor"]
Release 1.0.2b
-
- 修改了创建metaMysql后,直接释放数据库连接池(临时修改方案)
Release 1.0.3
-
- 上传的文件支持sql
Release 1.0.4
-
- 修改了文件的判断
Release 1.0.4.1b
-
- 测试http请求的写日志文件
Release 1.0.4.2b
-
- fix a bug
Release 1.0.5
-
- 增加了http请求的日志文件
Release 1.0.5.2
-
- 增加了封装操作步骤
Release 1.0.5.3
-
- 修复了文件下载日志的bug 和对是否是文件下载的判断
Release 1.0.5.4
-
- 取消了文件下载请求响应的日志
Release 1.0.5.5
-
- 增加了Step的装饰器
Release 1.0.5.6
-
- bug:不管step是否运行都会注册到BigTangerine 修复:调用接口时才会注册到BigTangerine中
Release 1.0.5.7
-
- scenario 中的step 都应该使用相同的service, 所以在构造函数中增加了service参数,同时兼容以前的方法
Release 1.0.5.8
-
- 取消FormData中,文件作为必填项
Release 1.0.5.9
-
- 修复了upload 会修改service中的全局headers
Release 1.0.6.0
-
- 增加了测试装饰器
Release 1.0.6.1
-
- 在Scenario中增加了测试用例的注册机制
Release 1.0.6.2
-
- 修复一些低级错误
Release 1.0.7
- 1 . 针对 mysql 增加可通过函数参数传递查询参数,而不是一定需要通过上下文传递
Release 1.0.7
- 1 . 修改查询参数为空时,设置查询参数为
Release 1.0.9
- 1 . xlsx读取装饰器
- 2 . list_eql 函数
Release 1.0.10
- 1 . 增加了通用数据结构 树
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
cjen-1.0.10.tar.gz
(30.6 kB
view hashes)
Built Distribution
cjen-1.0.10-py3-none-any.whl
(42.4 kB
view hashes)