摘要:
https://www.cnblogs.com/yoyoketang/p/12004145.html 阅读全文
摘要:
https://www.jb51.net/article/181095.htm 阅读全文
摘要:
https://www.cnblogs.com/yonglin/p/7041423.html 阅读全文
摘要:
https://www.cnblogs.com/linuxchao/p/linuxchao-pytest-report.html 阅读全文
摘要:
https://blog.csdn.net/bubblelone/article/details/83955978 https://jingyan.baidu.com/article/425e69e69425f2ff15fc16fe.html 阅读全文
摘要:
#coding=utf-8 from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as 阅读全文
摘要:
写在conftest.py文件中,参考链接:https://blog.csdn.net/xiao_feng77/article/details/103902230 #coding:utf-8 from selenium import webdriver import pytest driver = 阅读全文
摘要:
https://jingyan.baidu.com/article/2a1383289d7792074b134f69.html 阅读全文
摘要:
#coding:utf-8 import os cmd = "pytest -v -m \"not webtest\"" os.system(cmd) 通过os.system执行cmd命令(pytest -v -m "not webtest"),因为cmd命令中有双引号,随意要加转义符\ 阅读全文
摘要:
test_caseskip.py #coding:utf-8 import pytest myskip=pytest.mark.skipif(1==1,reason="skip") test_m1.py #coding:utf-8 import pytest from test_caseskip i 阅读全文