Commit 8e618cb3 by 李江源

修改了Readme文件

parent 6da4ba15
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
# ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ # ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
import pymysql import pymysql
from ApiAutoTest import logor, log from MyApiAutoTest_v3_3 import logor, log
from ApiAutoTest.common.read_basic_ini import ReadBasicIni from MyApiAutoTest_v3_3.common.read_basic_ini import ReadBasicIni
class DB: class DB:
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import configparser import configparser
import os.path import os.path
from ApiAutoTest import log from MyApiAutoTest_v3_3 import log
class ReadBasicIni: class ReadBasicIni:
......
...@@ -8,11 +8,11 @@ ...@@ -8,11 +8,11 @@
# ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ # ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
import openpyxl import openpyxl
from ApiAutoTest import log from MyApiAutoTest_v3_3 import log
from ApiAutoTest.common.read_basic_ini import ReadBasicIni from MyApiAutoTest_v3_3.common.read_basic_ini import ReadBasicIni
from ApiAutoTest.common.read_json import read_json from MyApiAutoTest_v3_3.common.read_json import read_json
from ApiAutoTest.common.read_user_ini import ReadUserIni from MyApiAutoTest_v3_3.common.read_user_ini import ReadUserIni
from ApiAutoTest.data_config.settings import * from MyApiAutoTest_v3_3.data_config.settings import *
class ReadExcel: class ReadExcel:
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import json import json
import os.path import os.path
from ApiAutoTest import log, logor from MyApiAutoTest_v3_3 import log, logor
@log @log
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import configparser import configparser
import os.path import os.path
from ApiAutoTest import log from MyApiAutoTest_v3_3 import log
class ReadUserIni: class ReadUserIni:
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
# ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ # ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
import requests.sessions import requests.sessions
from ApiAutoTest import log from MyApiAutoTest_v3_3 import log
from ApiAutoTest.common.db import DB from MyApiAutoTest_v3_3.common.db import DB
from ApiAutoTest.common.read_basic_ini import ReadBasicIni from MyApiAutoTest_v3_3.common.read_basic_ini import ReadBasicIni
class RequestsMethod: class RequestsMethod:
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ # ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
import pytest import pytest
from ApiAutoTest.requests_method.requests_method import RequestsMethod from MyApiAutoTest_v3_3.requests_method.requests_method import RequestsMethod
# 会话级别的,一个程序只执行一次 # 会话级别的,一个程序只执行一次
@pytest.fixture(scope="session") @pytest.fixture(scope="session")
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
import allure import allure
import pytest import pytest
from ApiAutoTest import logor from MyApiAutoTest_v3_3 import logor
from ApiAutoTest.common.read_excel import ReadExcel from MyApiAutoTest_v3_3.common.read_excel import ReadExcel
from ApiAutoTest.test_case.test_demo import USERNAME from MyApiAutoTest_v3_3.test_case.test_demo import USERNAME
class TestBPM: class TestBPM:
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ # ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
import pytest import pytest
from ApiAutoTest.requests_method.requests_method import RequestsMethod from MyApiAutoTest_v3_3.requests_method.requests_method import RequestsMethod
# 会话级别的,一个程序只执行一次 # 会话级别的,一个程序只执行一次
@pytest.fixture(scope="session") @pytest.fixture(scope="session")
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
import allure import allure
import pytest import pytest
from ApiAutoTest import logor from MyApiAutoTest_v3_3 import logor
from ApiAutoTest.common.read_excel import ReadExcel from MyApiAutoTest_v3_3.common.read_excel import ReadExcel
from ApiAutoTest.test_case.test_zs import USERNAME from MyApiAutoTest_v3_3.test_case.test_zs import USERNAME
class TestBPM: class TestBPM:
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
### 生成pytest测试报告 ### 生成pytest测试报告
``` ```
pytest ‐vv test_case ‐‐html=./report/html/pytest/test_1/test_report_1.html ‐‐self‐contained‐html ‐‐reruns 5 ‐‐reruns‐delay 0.5 pytest ‐vv test_case ‐‐html=./report/html/pytest/test_1/test_report_1.html ‐‐self‐contained‐html ‐‐reruns 5 ‐‐reruns‐delay 0.1
``` ```
### allure生成测试报告 ### allure生成测试报告
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment