Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
龚小红
oto
Commits
7f18b900
Commit
7f18b900
authored
Feb 08, 2023
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加半天计划优化的测试用例
parent
916d2e63
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ExtentTestNGIReporterListener.java
...st/java/com/oto/config/ExtentTestNGIReporterListener.java
+2
-2
DingTalkUtils.java
src/test/java/com/oto/utils/DingTalkUtils.java
+1
-1
No files found.
src/test/java/com/oto/config/ExtentTestNGIReporterListener.java
View file @
7f18b900
...
...
@@ -121,8 +121,8 @@ public class ExtentTestNGIReporterListener implements IReporter {
// 设置静态文件的DNS
//怎么样解决cdn.rawgit.com访问不了的情况
htmlReporter
.
config
().
setResourceCDN
(
ResourceCDN
.
EXTENTREPORTS
);
htmlReporter
.
config
().
setDocumentTitle
(
"
客集集
-自动化测试报告"
);
htmlReporter
.
config
().
setReportName
(
"
客集集
-自动化测试报告"
);
htmlReporter
.
config
().
setDocumentTitle
(
"
OTO
-自动化测试报告"
);
htmlReporter
.
config
().
setReportName
(
"
OTO
-自动化测试报告"
);
htmlReporter
.
config
().
setChartVisibilityOnOpen
(
true
);
//报表位置
htmlReporter
.
config
().
setTestViewChartLocation
(
ChartLocation
.
TOP
);
...
...
src/test/java/com/oto/utils/DingTalkUtils.java
View file @
7f18b900
...
...
@@ -23,7 +23,7 @@ public class DingTalkUtils {
//测试结果
context
=
"【接口自动化测试结果反馈】\n"
+
context
+
"报告地址: http://10.17
2.58.199
/view/kkk/job/oto/HTML_20Report\n"
;
+
"报告地址: http://10.17
5.236.17/
/view/kkk/job/oto/HTML_20Report\n"
;
System
.
out
.
println
(
context
);
Map
<
String
,
Object
>
contentParams
=
new
HashMap
<
String
,
Object
>();
...
...
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