
接口自动化框架
Leah0105
这个作者很懒,什么都没留下…
展开
-
pytest fixture传参和参数化
1、fixture传参:直接传入fixture、传入参数@pytest.fixture(scope='session')#方法下注释内容为连接selenoiddef browser(): # capabilities = { # "browserName": "chrome", # "browserVersion": "latest", # "selenoid:options": { # "enableVNC": Tr原创 2021-12-08 15:57:33 · 2908 阅读 · 0 评论 -
自动化测试pytest.ini文件
[pytest]addopts= -vs ./testcase/test_import_order.pytestpaths= ./testcasepython_files= test_*.pypython_classes=Test*python_functions=test_*markers= login order smoke@pytest.mark.login@pytest.mark.run(order=1)def test_l.原创 2021-07-20 20:39:07 · 435 阅读 · 1 评论 -
jmeter+maven+jenkins 创建maven项目
1、下载安装IDEA2、下载maven安装包:apache-maven-3.6.03、配置setting.xml文件4、创建maven项目-new project5、点击next6、点击next7、选择保存路径8、创建成功9、配置项目文件10、配置artifacts11、配置Tomcat12...原创 2019-07-02 17:31:16 · 219 阅读 · 0 评论 -
jmeter+maven+Jenkins 搭建jmeter+maven环境
1、新建maven项目,参考新建maven项目2、创建项目结构3、在pom.xml中配置相应插件<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http...原创 2019-07-10 14:06:47 · 810 阅读 · 0 评论