-
Notifications
You must be signed in to change notification settings - Fork 186
Missing statistics when intergrating Cobertura output to TFS run #1107
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
Comments
Thanks for reporting. |
Hi, any update on this issue? Hoping to integrate Cobertura results into our Azure DevOps pipeline. |
The raw files also present this problem. Although the overall line coverage is present for the suite, the figure is zero for each package section. |
Hi David |
Same problem in GitLab Broken XML Output
Manually adding tags makes GitLab pickup the line coverage.
This doesn't fix the "0.0" issue in the properties. |
utPLSQL#1107 The missing <classes> tags cause several CICD tools fail when displaying test coverage
with covered lines / total total lines. Rounding to 17 decimal places since that's what I found when looking at cobertura examples online. Used an rpad to generate the format mask to avoid having a long string of 9s. This was mentioned in utPLSQL#1107 but does not have an issue of its own.
Describe the bug
Integration of Cobertura output xml to TFS pipeline run does show correct coverage results on summary, but not any detailed statistics, when navigating into coverage details page.
It does show selected packages from coverage run, but all values equal zero.
Provide version info
Information about utPLSQL and Database version,
DB_Version:
19.0.0.0.0
19.7.0
UT_Version:
v3.1.10.3349
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.7.0.0.0
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-Mon-RRRR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
IBMPC/WIN_NT64-9.1.0
Information about client software
XML generated via SQLPlus console with:
To Reproduce
Steps to reproduce the behavior:
1.) Generate coverage xml file with ut_coverage_cobertura_reporter
2.) Integrate to TFS piepline with YAML like that:
3.) Check summary and coverage details page
Expected behavior
Detailed information should be also available on the detailed coverage information page
Additional context
Uploaded test_sample.xml for reference (I had to rename it to txt to upload it here).
test_sample.txt
The text was updated successfully, but these errors were encountered: