html tool

2020年9月21日星期一

转:robot -e 不执行的tag设置

 https://blog.csdn.net/weixin_41407477/article/details/82626977

tag如何使用:

tag可以是自己定义,而且可以一个测试用例可以打多个tags

 -i --include tag *       Select test cases to run by tag. 

所有包含tag的测试用例都会被执行

-e --exclude tag *       Select test cases not to run by tag.

所有包含tag的测试用例都不会被执行

pybot -i smoke -e tbd xxx.robot

上面这段命令,会执行包含smoke的但不包含tbd的测试用例

没有评论:

发表评论