Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InterfaceAutoTest
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TestAuto
InterfaceAutoTest
Commits
34c9bd66
Commit
34c9bd66
authored
May 13, 2021
by
taoke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加电子证照
parent
fac0eab7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
config.py
+1
-1
test_case/bmy/test_riskMonitar.py
+7
-7
test_case_data/bmc/bmc_testcase01_20210513.xlsx
+0
-0
No files found.
config.py
View file @
34c9bd66
...
...
@@ -6,7 +6,7 @@ class BaseConfig():
# 请求头
headers
=
{
'Content-Type'
:
'application/json'
}
# 当前运行的产品名 #auto
current_name
=
"bm
y
"
current_name
=
"bm
c
"
test_case_dir
=
"test_case/"
secs
=
0.1
# 测试用例间隔运行时间
...
...
test_case/bmy/test_riskMonitar.py
View file @
34c9bd66
...
...
@@ -38,10 +38,10 @@ class TestMonitor():
"""清除"""
if
__name__
==
'__main__'
:
for
one
in
os
.
listdir
(
'../../report/tmp'
):
# 列出对应文件夹的数据
if
'json'
in
one
:
os
.
remove
(
f
'../../report/tmp/{one}'
)
pytest
.
main
([
'test_riskMonitar.py'
,
'-s'
,
'--alluredir'
,
'../../report/tmp'
])
# # 启动默认浏览器打开报告
os
.
system
(
'allure serve ../../report/tmp'
)
#
if __name__ == '__main__':
#
for one in os.listdir('../../report/tmp'): # 列出对应文件夹的数据
#
if 'json' in one:
#
os.remove(f'../../report/tmp/{one}')
#
pytest.main(['test_riskMonitar.py', '-s', '--alluredir', '../../report/tmp'])
#
# # 启动默认浏览器打开报告
#
os.system('allure serve ../../report/tmp')
test_case_data/bmc/bmc_testcase01_20210513.xlsx
View file @
34c9bd66
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment