Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52530f0

Browse files
authored
Update docs with new reporter
1 parent 559ff16 commit 52530f0

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

docs/userguide/reporters.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,32 @@ Providing invalid paths or paths to non-existing files will result in failure wh
9595

9696
For details on how to invoke reporter with paths, see the **Coverage reporters** section.
9797

98+
# TFS / VSTS Reporter
99+
If you are using [TFS](https://www.visualstudio.com/tfs/) or [VSTS](https://www.visualstudio.com/team-services/) to do static code analysis for you PLSQL projects and run builds, your code analysis can benefit from code coverage and test results.
100+
utPLSQL provides two reporters to for TFS / VSTS:
101+
- `ut_tfs_junit_reporter` - provides an XML output of each test executed per each project test file (package)
102+
- `ut_coverage_cobertura_reporter` - provides XML output of code coverage per each project source file
103+
104+
`ut_tfs_junit_reporter` needs to be called with a list of paths to test files (packages).
105+
The paths to files can be relative to the project root directory (recommended) or be absolute.
106+
`ut_coverage_cobertura_reporter` needs to be called with a list of paths to source files for your project.
107+
The paths to files can be relative to the project root directory (recommended) or be absolute.
108+
109+
Providing invalid paths or paths to non-existing files will result in failure when publishing test results/coverage results to sonar server.
110+
111+
For details on how to invoke reporter with paths, see the **Coverage reporters** section.
112+
113+
Example of test report from TFS CI server.
114+
115+
Summary:
116+
117+
![tfs_junit_reporter_outputs](../images/tfs_summary.png)
118+
119+
Details:
120+
121+
![tfs_junit_reporter_outputs](../images/tfs_details.png)
122+
123+
98124
# Coverage reporters
99125

100126
utPLSQL comes with a set of build-in coverage reporters. Have a look into the [coverage documentation](coverage.md) to learn more about them.

0 commit comments

Comments
 (0)