Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

作者你好,python版增加自定义断言、json参数可整体用变量替换、csv中定义用例名,麻烦看下这样实现合理不 #1727

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

diaodeng
Copy link

1.python版增加自定义断言,较复杂的响应结果校验用自定义断言,获取comparator的时候不是内置的断言函数则添加标识,make时根据标识生成不同的断言调用,执行断言的时候根据标识取出自定义方法;自定义断言方法需要是现在debugtalk中;
2.请求体json可以整体用变量替换,使用csv参数化的时候可以整个参数都放在了csv中;
3.使用csv文件参数化的时候增加自定义用例名,最后一列的名字(最后一列第一行)为ids时自动作为用例名,方便查看每组参数执行的什么场景;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant