能否支持类似unittest中的skip注解,方便灵活剔除某些用例,不执行。 #96
Closed
Comments
新增支持
|
debugtalk
pushed a commit
that referenced
this issue
Feb 8, 2018
debugtalk
pushed a commit
that referenced
this issue
Feb 8, 2018
1, with skip keyword, skip current test unconditionally; 2, with skipIf keyword, you can skip current test with condition; condition evaluation can be defined in debugtalk.py function.
已经对 1、支持 e.g. 测试案例:https://github.com/HttpRunner/HttpRunner/blob/master/tests/data/demo_testset_cli.yml 对应的测试报告形式: |
debugtalk
pushed a commit
that referenced
this issue
Feb 8, 2018
debugtalk
added a commit
that referenced
this issue
Jun 4, 2019
1, skip=True is equal to times=0; 2, skip priority is higher than times.
debugtalk
added a commit
that referenced
this issue
Jun 4, 2019
debugtalk
added a commit
that referenced
this issue
Jun 4, 2019
1, with skip keyword, skip current test unconditionally; 2, with skipIf keyword, you can skip current test with condition; condition evaluation can be defined in debugtalk.py function.
debugtalk
added a commit
that referenced
this issue
Jun 4, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
背景:
目前在接口测试日常构建中,会遇到一些接口开发暂时屏蔽了或者降级,导致用例执行失败;所以想当遇到这些情况的时候,能够临时剔除掉某些用例不执行;等后续恢复后,再去掉,然后恢复执行。
The text was updated successfully, but these errors were encountered: