当前位置: 首页 > news >正文

免费做网站的问题如何用手机免费开网店

免费做网站的问题,如何用手机免费开网店,seo网站页面优化包含,织梦统计网站访问量代码我们一般在做自动化测试时#xff0c;用例设计之间应该是可以相互独立执行的#xff0c;没有一定的前后依赖关系的#xff0c;如果我们真的有前后依赖#xff0c;想指定用例的先后顺序#xff0c;可以用到pytest-ordering插件解决这个问题 1、安装依赖包 pip install pyt…我们一般在做自动化测试时用例设计之间应该是可以相互独立执行的没有一定的前后依赖关系的如果我们真的有前后依赖想指定用例的先后顺序可以用到pytest-ordering插件解决这个问题 1、安装依赖包 pip install pytest-ordering 2、运用 用例方法上添加装饰器pytest.mark.run(order2)用例执行顺序会以order值大小升序去调用执行 3、先按Pytest默认执行顺序根据用例的先后顺序先执行了用例1test_login_01再执行了用例2test_login_02 #!/usr/bin/env python # _*_coding:utf-8_*_ import pytestclass Test(object):def test_login_01(self):用例1print(执行用例test_login_01断言1)pytest.assume(1 1)print(执行用例test_login_01断言2)pytest.assume(2 2)def test_login_02(self):用例2print(执行用例test_login_02断言1)pytest.assume(3 3)print(执行用例test_login_02断言2)pytest.assume(True)if __name__ __main__:pytest.main([-s, test_C_01.py])C:\Users\admin\AppData\Local\Programs\Python\Python37\python.exe C:/Users/admin/Desktop/AutoTest/Test/test/test_C_01.pytest session starts platform win32 -- Python 3.7.4, pytest-5.4.2, py-1.8.1, pluggy-0.13.1 rootdir: C:\Users\admin\Desktop\AutoTest\Test\test plugins: assume-2.2.1, ordering-0.6 收集的测试用例:[Function test_login_01, Function test_login_02] collected 2 itemstest_C_01.py 执行用例test_login_01断言1 执行用例test_login_01断言2 .执行用例test_login_02断言1 执行用例test_login_02断言2 . 2 passed in 0.04s Process finished with exit code 0 4、设置了用例先后顺序为est_login_01pytest.mark.run(order2)、test_login_02pytest.mark.run(order1)调用后先执行了用例2test_login_02再执行了用例1test_login_01 #!/usr/bin/env python # _*_coding:utf-8_*_ import pytestclass Test(object):pytest.mark.run(order2)def test_login_01(self):用例1print(执行用例test_login_01断言1)pytest.assume(1 1)print(执行用例test_login_01断言2)pytest.assume(2 2)pytest.mark.run(order1)def test_login_02(self):用例2print(执行用例test_login_02断言1)pytest.assume(3 3)print(执行用例test_login_02断言2)pytest.assume(True)if __name__ __main__:pytest.main([-s, test_C_01.py])C:\Users\admin\AppData\Local\Programs\Python\Python37\python.exe C:/Users/admin/Desktop/AutoTest/Test/test/test_C_01.pytest session starts platform win32 -- Python 3.7.4, pytest-5.4.2, py-1.8.1, pluggy-0.13.1 rootdir: C:\Users\admin\Desktop\AutoTest\Test\test plugins: assume-2.2.1, ordering-0.6 收集的测试用例:[Function test_login_01, Function test_login_02] collected 2 itemstest_C_01.py 执行用例test_login_02断言1 执行用例test_login_02断言2 .执行用例test_login_01断言1 执行用例test_login_01断言2 . 2 passed in 0.06s Process finished with exit code 0
http://www.pierceye.com/news/177796/

相关文章:

  • 平台网站建设ppt雪梨直播
  • 建设外贸类网站互联网下的网络营销
  • 网站开发需要的知识WordPress要什么环境
  • wordpress 多站点设置欧洲c2c平台
  • 赤峰网站开发公司做网站的公司怎么推销
  • 深圳福田区区住房和建设局网站wordpress 小程序开发
  • 网站建设与推cctv-10手机网站模板用什么做
  • 网站的建站方案网络科技有限公司
  • ps做图游戏下载网站有哪些内容广州网站(建设信科网络)
  • 专做皮鞋销售网站seo网站优化方案
  • 街区网站建设的意义做外贸网站 怎么收钱
  • 北京网站制作公司兴田德润可信赖给钱做h事都行的网站名
  • 合肥珍岛公司做网站推广怎么样如何查询网站备案进度
  • 源码论坛网站门户网站的含义
  • 零食店网站构建策划报告高级程序员培训
  • 重庆大足网站制作公司百度app智能小程序
  • flash网站与html5discuz做的网站上传到网站空间的文件
  • 做网站会什么网页设计类型与风格
  • 怎么做网站用于推广注册公司每年需要缴纳什么费用
  • 揭阳有哪家网站制作公司wordpress数据库备份恢复
  • 站长工具友链查询中国网站建设公司图片
  • 做原型的素材网站国内wordpress主题商
  • 合肥的电商网站设计wordpress 相册 链接
  • 试玩平台网站怎么做网站建设推荐中企动力
  • 衡水做网站建设台州网站建设选浙江华企
  • 某集团网站建设规划书用flash做的经典网站
  • 企业网站用什么做一个空间怎么放两个网站吗
  • 58同城长沙回收网站建设长春seo推广
  • 景区网站建设的意义女生学计算机应用技术可以做什么
  • 做律师网站的公司天津公司网站制作