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
f29cf7cc
Commit
f29cf7cc
authored
Nov 14, 2019
by
Nick Kipling
Committed by
Evan Read
Nov 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding to Junit docs
Added some documentation inside Junit docs Added screenshot
parent
04813972
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
doc/ci/img/junit_test_report_ui.png
doc/ci/img/junit_test_report_ui.png
+0
-0
doc/ci/junit_test_reports.md
doc/ci/junit_test_reports.md
+24
-0
No files found.
doc/ci/img/junit_test_report_ui.png
0 → 100644
View file @
f29cf7cc
82.3 KB
doc/ci/junit_test_reports.md
View file @
f29cf7cc
...
...
@@ -178,3 +178,27 @@ Currently, the following tools might not work because their XML formats are unsu
|Case|Tool|Issue|
|---|---|---|
|
`<testcase>`
does not have
`classname`
attribute|ESlint, sass-lint|
<https://gitlab.com/gitlab-org/gitlab-foss/issues/50964>
|
## Viewing JUnit test reports on GitLab
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/24792) in GitLab 12.5.
If JUnit XML files are generated and uploaded as part of a pipeline, these reports
can be viewed inside the pipelines details page. The
**Tests**
tab on this page will
display a list of test suites and cases reported from the XML file.
![
Test Reports Widget
](
img/junit_test_report_ui.png
)
You can view all the known test suites and click on each of these to see further
details, including the cases that makeup the suite. Cases are ordered by status,
with failed showing at the top, skipped next and successful cases last.
### Enabling the feature
This feature comes with the
`:junit_pipeline_view`
feature flag disabled by default.
To enable this feature, ask a GitLab administrator with Rails console access to run the
following command:
```
ruby
Feature
.
enable
(
:junit_pipeline_view
)
```
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