-
Notifications
You must be signed in to change notification settings - Fork 189
Feature/reporters object model fix #589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
0434e17
79b3702
a9031f4
19ac972
43b8754
7fde523
b8dc2a6
8fefdcf
83e4b0b
b4ece73
94b7ea1
d792fec
202e697
bfde057
92f7b4c
5272342
7b34109
aae83f2
014981c
4488415
762727b
7e428a1
a466609
c0df23d
cdacf29
9504d1b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
With that addition to every reporter implementation we can easily create documentation or help-functions for consuming applications like cli. We also encourage third party reporter-providers to give a description about their reporter.
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,5 +99,11 @@ create or replace type body ut_coveralls_reporter is | |
| self.print_clob( get_coverage_json( l_coverage_data ) ); | ||
| end; | ||
|
|
||
| overriding member function get_description return varchar2 as | ||
| begin | ||
| return 'Generates a JSON coverage report providing information on code coverage with line numbers.' || chr(10) || | ||
| 'Designed for [Coveralls](https://coveralls.io/).'; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would add link: |
||
| end; | ||
|
|
||
| end; | ||
| / | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -97,5 +97,11 @@ create or replace type body ut_sonar_test_reporter is | |
| self.print_text('</testExecutions>'); | ||
| end; | ||
|
|
||
| overriding member function get_description return varchar2 as | ||
| begin | ||
| return 'Generates a JSON report providing detailed information on test execution.' || chr(10) || | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would add line: |
||
| 'Designed for [SonarQube](https://about.sonarqube.com/) to report test execution.'; | ||
| end; | ||
|
|
||
| end; | ||
| / | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,5 +113,10 @@ create or replace type body ut_teamcity_reporter is | |
|
|
||
| end; | ||
|
|
||
| overriding member function get_description return varchar2 as | ||
| begin | ||
| return 'For reporting live progress of test execution with Teamcity CI.'; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As described in documentation: |
||
| end; | ||
|
|
||
| end; | ||
| / | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,5 +129,10 @@ create or replace type body ut_xunit_reporter is | |
| || '" time="' || ut_utils.to_xml_number_format(a_item.execution_time()) || '" '; | ||
| end; | ||
|
|
||
| overriding member function get_description return varchar2 as | ||
| begin | ||
| return 'Used for reporting test results with CI servers like Jenkins/Hudson/Teamcity.'; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| end; | ||
|
|
||
| end; | ||
| / | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add line:
JSON format returned conforms with the Sonar specification: https://docs.sonarqube.org/display/SONAR/Generic+Test+Data