Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7c0af33d
Commit
7c0af33d
authored
Dec 13, 2021
by
Andrejs Cunskis
Committed by
Sanad Liaquat
Dec 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E2E: Update reliable spec report creation
parent
d56e9bc5
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
328 additions
and
179 deletions
+328
-179
qa/qa/tools/reliable_report.rb
qa/qa/tools/reliable_report.rb
+191
-74
qa/spec/tools/reliable_report_spec.rb
qa/spec/tools/reliable_report_spec.rb
+134
-91
qa/tasks/reliable_report.rake
qa/tasks/reliable_report.rake
+3
-14
No files found.
qa/qa/tools/reliable_report.rb
View file @
7c0af33d
This diff is collapsed.
Click to expand it.
qa/spec/tools/reliable_report_spec.rb
View file @
7c0af33d
This diff is collapsed.
Click to expand it.
qa/tasks/reliable_report.rake
View file @
7c0af33d
...
...
@@ -3,19 +3,8 @@
require_relative
"../qa/tools/reliable_report"
desc
"Fetch top most reliable specs"
task
:reliable_spec_report
,
[
:run_type
,
:range
,
:create_slack_report
]
do
|
_task
,
args
|
report
=
QA
::
Tools
::
ReliableReport
.
new
(
args
[
:run_type
]
||
"package-and-qa"
,
args
[
:range
])
report
.
show_top_stable
report
.
notify_top_stable
if
args
[
:create_slack_report
]
==
'true'
end
desc
"Fetch top most unstable reliable specs"
task
:unreliable_spec_report
,
[
:run_type
,
:range
,
:create_slack_report
]
do
|
_task
,
args
|
report
=
QA
::
Tools
::
ReliableReport
.
new
(
args
[
:run_type
]
||
"package-and-qa"
,
args
[
:range
])
report
.
show_top_unstable
report
.
notify_top_unstable
if
args
[
:create_slack_report
]
==
'true'
desc
"Fetch reliable and unreliable spec data and create report"
task
:reliable_spec_report
,
[
:range
,
:report_in_issue_and_slack
]
do
|
_task
,
args
|
QA
::
Tools
::
ReliableReport
.
run
(
**
args
)
end
# rubocop:enable Rails/RakeEnvironment
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