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 . 增加了通用数据结构 树
Release 1.0.11
- 1 . xlsx 读取装饰器,支持在函数中指定文件路径
Release 1.0.12
-
1 . property 校验装饰器
-
Release 1.0.13
-
1 . 增加DBBigTangerine
-
Release 1.0.14
-
1 . 修复了DatabaseInfo port的BUG
-
Release 1.0.15
-
1 . 增加对数据库字段byte转为Bool
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.15.tar.gz
(32.9 kB
view details)
Built Distribution
cjen-1.0.15-py3-none-any.whl
(45.6 kB
view details)
File details
Details for the file cjen-1.0.15.tar.gz
.
File metadata
- Download URL: cjen-1.0.15.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 102f8bfaccc07d44b27eac4e63b61717364171a01cfd08b6e931cf2caae1233c |
|
MD5 | eaa4d315ef53294b38f9f12146dc76fb |
|
BLAKE2b-256 | 378e08b745d56b3bb88675ae71d1cec3c5f609fb50dc101471d82cffbc238765 |
File details
Details for the file cjen-1.0.15-py3-none-any.whl
.
File metadata
- Download URL: cjen-1.0.15-py3-none-any.whl
- Upload date:
- Size: 45.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5188c18655e8d11159dcec4133793454d52f2afc621d8eee45b6b97b431267f |
|
MD5 | 769eee2be069df28c13a45c5f77a18e5 |
|
BLAKE2b-256 | a70a8e2eb8538032b0a6464a80e9eb082359652a6d47fe0c23eb86cdc405a692 |