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 . 修改查询参数为空时,设置查询参数为
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.8.tar.gz
(26.8 kB
view details)
Built Distribution
cjen-1.0.8-py3-none-any.whl
(37.3 kB
view details)
File details
Details for the file cjen-1.0.8.tar.gz
.
File metadata
- Download URL: cjen-1.0.8.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a9cb566c80fd4a182c2f2c570e2aa90854fc009adb66e2a982bbf97b5d0a1c |
|
MD5 | d816595735870cea528d0000bb58ff4d |
|
BLAKE2b-256 | c4c385099160a102f6612d9781eaebd817bc7e4fb3b5856c78af6823c4b85714 |
File details
Details for the file cjen-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: cjen-1.0.8-py3-none-any.whl
- Upload date:
- Size: 37.3 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 | eff2eca504ea4d11e0dea22031e13a46912d05dbacad16248aced54a903eb82b |
|
MD5 | 6fbc0c3d9238b0e862f840a521ac509d |
|
BLAKE2b-256 | e54c8678abb6dd72dfa0b0e2f6bc9a1378c2e7ff44f3f7ba4d844bc58510a247 |