Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
interfaceTest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
zhaihuitao
interfaceTest
Commits
d39bd5d5
Commit
d39bd5d5
authored
Nov 09, 2020
by
zhaihuitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
141a5836
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
112 additions
and
108 deletions
+112
-108
workspace.xml
.idea/workspace.xml
+110
-106
run_all_cases.py
testcase/run_all_cases.py
+2
-2
No files found.
.idea/workspace.xml
View file @
d39bd5d5
...
...
@@ -3,6 +3,7 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"d0064643-2990-4ed3-bfb0-875849b30f4e"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/testcase/run_all_cases.py"
afterPath=
"$PROJECT_DIR$/testcase/run_all_cases.py"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
...
@@ -141,31 +142,43 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"
run_all_cases.py"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/testcase/
run_all_cases
.py"
>
<file
leaf-file-name=
"
test_adclick.py"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/testcase/
android_events/test_adclick
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"10"
column=
"1
7"
lean-forward=
"false"
selection-start-line=
"10"
selection-start-column=
"17"
selection-end-line=
"10"
selection-end-column=
"17
"
/>
<caret
line=
"10"
column=
"1
1"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"11"
selection-end-line=
"10"
selection-end-column=
"11
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
HTMLTestReportCN.py"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/
report/HTMLTestReportCN
.py"
>
<file
leaf-file-name=
"
run_all_cases.py"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/
testcase/run_all_cases
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<state
relative-caret-position=
"420"
>
<caret
line=
"28"
column=
"27"
lean-forward=
"false"
selection-start-line=
"28"
selection-start-column=
"27"
selection-end-line=
"28"
selection-end-column=
"27"
/>
<folding>
<element
signature=
"e#105#120#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"baseEvent.py"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/testcase/android_events/baseEvent.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2753"
>
<caret
line=
"487"
column=
"13"
lean-forward=
"false"
selection-start-line=
"487"
selection-start-column=
"13"
selection-end-line=
"487"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"HTMLTestReportCN.py"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://
/anaconda3/lib/python3.6
/HTMLTestReportCN.py"
>
<entry
file=
"file://
$PROJECT_DIR$/report
/HTMLTestReportCN.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
165
"
>
<caret
line=
"
11"
column=
"0"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"0"
selection-end-line=
"11
"
selection-end-column=
"0"
/>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0
"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
...
...
@@ -196,6 +209,7 @@
<find>
prod_click_u
</find>
<find>
prod_click_url
</find>
<find>
stringIO
</find>
<find>
report
</find>
</findStrings>
<replaceStrings>
<replace
/>
...
...
@@ -292,29 +306,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"External Libraries"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"< Python 3.6.4 (/anaconda3/bin/python3.6) >"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"interfaceTest"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"External Libraries"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"< Python 3.6.4 (/anaconda3/bin/python3.6) >"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"site-packages"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
...
...
@@ -324,15 +316,11 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"External Libraries"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"< Python 3.6.4 (/anaconda3/bin/python3.6) >"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode"
/>
<option
name=
"myItemId"
value=
"interfaceTest"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
python3.6
"
/>
<option
name=
"myItemId"
value=
"
testcase
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
...
...
@@ -345,18 +333,12 @@
<option
name=
"myItemId"
value=
"interfaceTest"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"interfaceTest"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
interfaceTest
"
/>
<option
name=
"myItemId"
value=
"
testcase
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
testcase
"
/>
<option
name=
"myItemId"
value=
"
android_events
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
...
...
@@ -378,6 +360,7 @@
</component>
<component
name=
"RecentsManager"
>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"/anaconda3/lib/python3.6"
/>
<recent
name=
"/anaconda3/lib/python3.6/site-packages"
/>
<recent
name=
"$APPLICATION_HOME_DIR$/helpers/python-skeletons"
/>
<recent
name=
"$PROJECT_DIR$"
/>
...
...
@@ -670,13 +653,6 @@
<updated>
1596505503233
</updated>
<workItem
from=
"1596786333197"
duration=
"228000"
/>
</task>
<task
id=
"LOCAL-00018"
summary=
"add install enevt"
>
<created>
1597648928744
</created>
<option
name=
"number"
value=
"00018"
/>
<option
name=
"presentableId"
value=
"LOCAL-00018"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1597648928744
</updated>
</task>
<task
id=
"LOCAL-00019"
summary=
"add install enevt"
>
<created>
1597653686002
</created>
<option
name=
"number"
value=
"00019"
/>
...
...
@@ -1013,7 +989,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1604891344487
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"67"
/>
<task
id=
"LOCAL-00067"
summary=
"update"
>
<created>
1604891483336
</created>
<option
name=
"number"
value=
"00067"
/>
<option
name=
"presentableId"
value=
"LOCAL-00067"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1604891483336
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"68"
/>
<servers
/>
</component>
<component
name=
"TestHistory"
>
...
...
@@ -1059,8 +1042,9 @@
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"0"
width=
"1280"
height=
"800"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<window_info
id=
"Project"
active=
"
tru
e"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2253635"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Project"
active=
"
fals
e"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2253635"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32838285"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Event Log"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32838285"
sideWeight=
"0.5072698"
order=
"7"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Database"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32956383"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -1126,22 +1110,6 @@
<watches-manager
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/unnamed.patch"
/>
<entry
file=
"file://$PROJECT_DIR$/testcase/android_click/test_install.py"
/>
<entry
file=
"file://$PROJECT_DIR$/data/__init__.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/config/prod/__init__.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/data/prod.yaml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"225"
>
...
...
@@ -1249,13 +1217,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testcase/android_events/baseEvent.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"294"
>
<caret
line=
"487"
column=
"13"
lean-forward=
"false"
selection-start-line=
"487"
selection-start-column=
"13"
selection-end-line=
"487"
selection-end-column=
"13"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testcase/android_events/test_appduration.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"135"
>
...
...
@@ -1327,14 +1288,6 @@
</state>
</provider>
</entry>
<entry
file=
"file:///anaconda3/lib/python3.6/site-packages/requests/__init__.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1502"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testcase/android_events/test_custom.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"90"
>
...
...
@@ -1382,14 +1335,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testcase/android_events/test_adclick.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"120"
>
<caret
line=
"8"
column=
"15"
lean-forward=
"true"
selection-start-line=
"8"
selection-start-column=
"15"
selection-end-line=
"8"
selection-end-column=
"15"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testcase/android_click/test_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"300"
>
...
...
@@ -1432,14 +1377,6 @@
</state>
</provider>
</entry>
<entry
file=
"file:///anaconda3/lib/python3.6/HTMLTestReportCN.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"165"
>
<caret
line=
"11"
column=
"0"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"0"
selection-end-line=
"11"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/report/HTMLTestReportCN.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
...
...
@@ -1484,7 +1421,7 @@
</state>
</provider>
</entry>
<entry
file=
"file://
$PROJECT_DIR$/HTMLTestReportCN
.py"
>
<entry
file=
"file://
/anaconda3/lib/python3.6/unittest/__init__
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
...
...
@@ -1492,13 +1429,79 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testcase/run_all_cases.py"
>
<entry
file=
"file:///anaconda3/lib/python3.6/HTMLTestReportCN.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"165"
>
<caret
line=
"11"
column=
"0"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"0"
selection-end-line=
"11"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file:///anaconda3/lib/python3.6/os.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$USER_HOME$/Library/Caches/PyCharm2017.1/python_stubs/1978755681/sys.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testcase/android_events/baseEvent.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2753"
>
<caret
line=
"487"
column=
"13"
lean-forward=
"false"
selection-start-line=
"487"
selection-start-column=
"13"
selection-end-line=
"487"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file:///anaconda3/lib/python3.6/json/__init__.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file:///anaconda3/lib/python3.6/site-packages/requests/__init__.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testcase/android_events/test_adclick.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"10"
column=
"1
7"
lean-forward=
"false"
selection-start-line=
"10"
selection-start-column=
"17"
selection-end-line=
"10"
selection-end-column=
"17
"
/>
<caret
line=
"10"
column=
"1
1"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"11"
selection-end-line=
"10"
selection-end-column=
"11
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/HTMLTestReportCN.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"158"
>
<caret
line=
"20"
column=
"24"
lean-forward=
"false"
selection-start-line=
"20"
selection-start-column=
"18"
selection-end-line=
"20"
selection-end-column=
"24"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/testcase/run_all_cases.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"420"
>
<caret
line=
"28"
column=
"27"
lean-forward=
"false"
selection-start-line=
"28"
selection-start-column=
"27"
selection-end-line=
"28"
selection-end-column=
"27"
/>
<folding>
<element
signature=
"e#105#120#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
testcase/run_all_cases.py
View file @
d39bd5d5
...
...
@@ -8,7 +8,7 @@
import
unittest
import
os
import
HTMLTestR
eportCN
import
HTMLTestR
unner
import
sys
...
...
@@ -26,7 +26,7 @@ def all_case():
if
__name__
==
"__main__"
:
fp
=
open
(
report_path
,
'wb'
)
runner
=
HTMLTestR
eportCN
.
HTMLTestRunner
(
runner
=
HTMLTestR
unner
.
HTMLTestRunner
(
stream
=
fp
,
title
=
'<TKIO接口监控报告>'
,
description
=
u'TKIO接口自动化测试用例'
,
...
...
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