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
e30367a7
Commit
e30367a7
authored
May 06, 2021
by
jiaqiying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify run.py
parent
1cf65a78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
run.py
+2
-2
No files found.
run.py
View file @
e30367a7
...
@@ -8,14 +8,14 @@ from common.tools import get_case_dir
...
@@ -8,14 +8,14 @@ from common.tools import get_case_dir
def
get_parser
():
def
get_parser
():
parser
=
argparse
.
ArgumentParser
(
description
=
"argparse"
)
parser
=
argparse
.
ArgumentParser
(
description
=
"argparse"
)
parser
.
add_argument
(
'--product'
,
type
=
str
,
default
=
BaseConfig
.
current_product
)
parser
.
add_argument
(
'--product'
,
type
=
str
,
default
=
BaseConfig
.
name
)
return
parser
return
parser
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
parser
=
get_parser
()
parser
=
get_parser
()
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
BaseConfig
.
current_product
=
args
.
product
BaseConfig
.
name
=
args
.
product
# 获取要执行的产品的用例目录
# 获取要执行的产品的用例目录
test_case_dir
=
get_case_dir
(
args
.
product
)
test_case_dir
=
get_case_dir
(
args
.
product
)
print
(
"********此次执行的产品测试用例是:
%
s********"
%
test_case_dir
)
print
(
"********此次执行的产品测试用例是:
%
s********"
%
test_case_dir
)
...
...
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