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
22cb047b
Commit
22cb047b
authored
Oct 01, 2019
by
Michael Conrad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing spaces
parent
823d9f71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/ci/junit_test_reports.md
doc/ci/junit_test_reports.md
+5
-5
No files found.
doc/ci/junit_test_reports.md
View file @
22cb047b
...
...
@@ -175,10 +175,10 @@ cpp:
The
[
JunitXML.TestLogger
](
https://www.nuget.org/packages/JunitXml.TestLogger/
)
nuget
package can generate test reports for .Net Framework and .Net Core applications. The following
example expects a solution in the root folder of the repository, with one or more
example expects a solution in the root folder of the repository, with one or more
project files in sub-folders. One result file is produced per test project, and each
are placed in a new artifacts folder. This example includes optional formatting arguments, which
improve the readability of test data in the test widget. A full .Net Core example is availble
improve the readability of test data in the test widget. A full .Net Core example is availble
[
here
](
https://gitlab.com/Siphonophora/dot-net-cicd-test-logging-demo
)
.
```
yaml
...
...
@@ -186,14 +186,14 @@ improve the readability of test data in the test widget. A full .Net Core exampl
Test
:
stage
:
test
script
:
script
:
-
'
dotnet
test
--test-adapter-path:.
--logger:"junit;LogFilePath=..\artifacts\{assembly}-test-result.xml;MethodFormat=Class;FailureBodyFormat=Verbose"'
artifacts
:
when
:
always
paths
:
paths
:
-
.\**\*test-result.xml
reports
:
junit
:
junit
:
-
.\**\*test-result.xml
```
...
...
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