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

福州工程建设信息网站爱用系统的设计理念

福州工程建设信息网站,爱用系统的设计理念,中秋节网页制作素材,运维负责做网站吗脚本树如下#xff1a; test1文件下test_01.py存放test1和test2用例 test1文件下test_02.py存放test1和test2用例 test2文件下test_03.py存放test1和test2用例 test2文件下test_04.py存放test1和test2用例 1、运行所有用例 import pytest if __name__ __main__ test1文件下test_01.py存放test1和test2用例 test1文件下test_02.py存放test1和test2用例 test2文件下test_03.py存放test1和test2用例 test2文件下test_04.py存放test1和test2用例 1、运行所有用例 import pytest if __name__ __main__:pytest.main([-s,])C:\Program Files\Python35\python.exe C:/Users/wangli/PycharmProjects/PytestAutomation/testcase/run_all_test.pytest session starts platform win32 -- Python 3.5.2, pytest-5.1.2, py-1.8.0, pluggy-0.12.0 rootdir: C:\Users\wangli\PycharmProjects\PytestAutomation\testcase plugins: allure-pytest-2.8.5, html-1.22.0, metadata-1.8.0 collected 8 itemstest1\test_01.py 调用了获取token test_01-test1:5 .test_01-test2:5 . test1\test_02.py test_02-test1:5 .test_02-test2:5 . test2\test_03.py test_03-test1:5 .test_04-test2:5 . test2\test_04.py test04-test1:5 .test04-test2:5 . 8 passed in 0.25s Process finished with exit code 0 --------------------------------------------------------------------------------------2、运行指定文件夹下用例 import pytest if __name__ __main__:pytest.main([-s,test1])C:\Program Files\Python35\python.exe C:/Users/wangli/PycharmProjects/PytestAutomation/testcase/run_all_test.pytest session starts platform win32 -- Python 3.5.2, pytest-5.1.2, py-1.8.0, pluggy-0.12.0 rootdir: C:\Users\wangli\PycharmProjects\PytestAutomation\testcase plugins: allure-pytest-2.8.5, html-1.22.0, metadata-1.8.0 collected 4 itemstest1\test_01.py 调用了获取token test_01-test1:5 .test_01-test2:5 . test1\test_02.py test_02-test1:5 .test_02-test2:5 . 4 passed in 0.12s Process finished with exit code 0-----------------------------------------------------------------------------------3、运行指定py文件下用例 import pytest if __name__ __main__:pytest.main([-s,test1/test_01.py])C:\Program Files\Python35\python.exe C:/Users/wangli/PycharmProjects/PytestAutomation/testcase/run_all_test.pytest session starts platform win32 -- Python 3.5.2, pytest-5.1.2, py-1.8.0, pluggy-0.12.0 rootdir: C:\Users\wangli\PycharmProjects\PytestAutomation\testcase plugins: allure-pytest-2.8.5, html-1.22.0, metadata-1.8.0 collected 2 itemstest1\test_01.py 调用了获取token test_01-test1:5 .test_01-test2:5 . 2 passed in 0.04s Process finished with exit code 04、运行指定类下的用例 import pytest if __name__ __main__:pytest.main([-s,test1/test_01.py::Test])C:\Program Files\Python35\python.exe C:/Users/wangli/PycharmProjects/PytestAutomation/testcase/run_all_test.pytest session starts platform win32 -- Python 3.5.2, pytest-5.1.2, py-1.8.0, pluggy-0.12.0 rootdir: C:\Users\wangli\PycharmProjects\PytestAutomation\testcase plugins: allure-pytest-2.8.5, html-1.22.0, metadata-1.8.0 collected 2 itemstest1\test_01.py 调用了获取token test_01-test1:5 .test_01-test2:5 . 2 passed in 0.04s Process finished with exit code 0-------------------------------------------------------------------------------------5、运行执行方法下的用例 import pytest if __name__ __main__:pytest.main([-s,test1/test_01.py::Test::test1])C:\Program Files\Python35\python.exe C:/Users/wangli/PycharmProjects/PytestAutomation/testcase/run_all_test.pytest session starts platform win32 -- Python 3.5.2, pytest-5.1.2, py-1.8.0, pluggy-0.12.0 rootdir: C:\Users\wangli\PycharmProjects\PytestAutomation\testcase plugins: allure-pytest-2.8.5, html-1.22.0, metadata-1.8.0 collected 1 itemtest1\test_01.py 调用了获取token test_01-test1:5 . 1 passed in 0.04s Process finished with exit code 0
http://www.pierceye.com/news/265421/

相关文章:

  • 三网站合一系统优化最好的安卓手机
  • 那几个网站可以做h5产品经理培训哪个机构好
  • 吉林市做网站阿里巴巴国际站怎么运营
  • 中国网站排名100网站建设属于销售费用
  • 最新seo网站优化教程温州微网站
  • 网站双线选择昆明网站制作代理
  • 网站推广优化招聘织梦网站图片设置多大
  • 四川德充建设集团有限公司网站台州seo免费诊断
  • 农庄网站模板网站 文件夹 上传
  • 做长图文网站企业网站开发服务合同
  • 长椿街网站建设九江网站推广徽hyhyk1
  • 贴吧做网站wordpress不兼容ie
  • 上海万网网站建设网络工程专业是什么
  • 到国外建网站自己做的视频发什么网站吗
  • 高校网站平台建设快速网站排名
  • seo技术 如何优化网站内部结构用ps做网站方法
  • vi设计公司网站python做网站好处
  • 北京专业网站建设服务商枣庄建设工程管理局网站
  • 百度移动网站提交深圳做网站的好公司
  • 十大在线编程网站旅游营销型网站
  • 微转app是用网站做的吗win10运行wordpress
  • 微网站建设哪里便宜网站做的跟别人的一样可以吗
  • 合肥优化网站福州网站设计
  • 企业网站制作前期需要什么资料网站 月15g流量够用吗
  • 网络营销网站建设ppt环艺做网站
  • 手机建设银行官方网站网站开发要点
  • 做简历的网站有随州网站建设学校
  • 深圳建设网站企业青白江做网站的公司
  • dm网站制作软件无忧网站建设
  • 如何在自己的网站上做歌单王建设医生网站