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

feat:fixtures目录能支持2级, req&resp支持添加额外标题信息 #7

Merged
merged 4 commits into from
Jan 22, 2022

Conversation

zhangwk02
Copy link
Contributor

@zhangwk02 zhangwk02 commented Jan 21, 2022

fixtures

  1. 效果如下,
    image
  2. 坑 其他地方conftest.py 模块出错的时候,控制台日志会识别到根路径下conftest.py 出错

req&resp支持自定义title

  1. 每条req&resp 实际就是一条case ; 有时候要解决前后依赖的问题,不想写多个测试函数,在一个测试函数中多次req&resp ,这个时候通过添加标题来达到区分case的目的
    image
  2. 使用
    image

zhangwk02 and others added 4 commits January 21, 2022 16:52
feat:req&resp 添加自定义信息
feat:能支持fixtures 目录下一级子目录fixture 导入
@dongfanger dongfanger merged commit 1d9eaee into dongfanger:master Jan 22, 2022
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.

2 participants