Title: Coverage report is generated without coverage data in v3.1.7 · Issue #165 · utPLSQL/utPLSQL-cli · GitHub
Open Graph Title: Coverage report is generated without coverage data in v3.1.7 · Issue #165 · utPLSQL/utPLSQL-cli
X Title: Coverage report is generated without coverage data in v3.1.7 · Issue #165 · utPLSQL/utPLSQL-cli
Description: Hi! Somehow I missed the release of utPLSQL-cli v3.1.7 (which contains the fix for #143) and I'm testing it now... But when I run the command utplsql run
Open Graph Description: Hi! Somehow I missed the release of utPLSQL-cli v3.1.7 (which contains the fix for #143) and I'm testing it now... But when I run the command utplsql run
X Description: Hi! Somehow I missed the release of utPLSQL-cli v3.1.7 (which contains the fix for #143) and I'm testing it now... But when I run the command utplsql run <db> -f=ut_coverage_sonar_reporte...
Opengraph URL: https://github.com/utPLSQL/utPLSQL-cli/issues/165
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Coverage report is generated without coverage data in v3.1.7","articleBody":"Hi!\r\n\r\nSomehow I missed the release of utPLSQL-cli v3.1.7 (which contains the fix for #143) and I'm testing it now... But when I run the command `utplsql run \u003cdb\u003e -f=ut_coverage_sonar_reporter -o=\"coverage.xml\" -source_path=src` the output is generated without any coverage data. It works correctly in v3.1.6.\r\n\r\nThis issue isn't specific to ut_coverage_sonar_reporter, it can be reproduced with all coverage reporters.\r\n\r\nBy the way I noticed [you're using v3.1.6](https://github.com/utPLSQL/utPLSQL/blob/0e6f9b16933923672732abce0bfbd95fc8ec17df/.travis.yml#L50) to generate these reports in the utPLSQL project, I think you'll have the same issue with 3.1.7. ;-)\r\n\r\n**How to Reproduce**\r\n\r\n1. Compile [betwnstr.sql](https://raw.githubusercontent.com/utPLSQL/utPLSQL/develop/examples/between_string/betwnstr.sql) and [test_betwnstr.pkg](https://raw.githubusercontent.com/utPLSQL/utPLSQL/develop/examples/between_string/test_betwnstr.pkg) in the database\r\n2. Create a `src` directory with a file named `betwnstr.fnc`\r\n3. Run `utplsql run \u003cconnection\u003e -p=test_betwnstr -f=ut_coverage_sonar_reporter -o=\"coverage.xml\" -source_path=src`\r\n\r\n**Expected behavior**\r\n\r\nThe coverage.xml file generated by utplsql-cli should contain the coverage data, e.g.:\r\n\r\n```\r\n\u003c?xml version=\"1.0\" encoding=\"WINDOWS-1252\"?\u003e\r\n\u003ccoverage version=\"1\"\u003e\r\n\u003cfile path=\"src\\betwnstr.fnc\"\u003e\r\n\u003clineToCover lineNumber=\"2\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"4\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"5\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"7\" covered=\"true\"/\u003e\r\n\u003c/file\u003e\r\n\u003c/coverage\u003e\r\n```\r\n\r\n**Current behavior**\r\n\r\nThe file is created without coverage data:\r\n\r\n```\r\n\u003c?xml version=\"1.0\" encoding=\"WINDOWS-1252\"?\u003e\r\n\u003ccoverage version=\"1\"\u003e\r\n\u003c/coverage\u003e\r\n```\r\n\r\n**Version info**\r\n\r\n`utplsql-cli info \u003cdb\u003e`:\r\n```\r\nutPLSQL-cli 3.1.7-SNAPSHOT.local\r\nutPLSQL-java-api 3.1.7.504\r\nutPLSQL 3.1.8.3190\r\n```\r\n\r\nFrom `utplsql-cli run (...)`:\r\n```\r\n###################### utPLSQL cli #######################\r\n# #\r\n# utPLSQL-cli 3.1.7-SNAPSHOT.local #\r\n# utPLSQL-java-api 3.1.7.504 #\r\n# Java-Version: 1.8.0_201 #\r\n# ORACLE_HOME: null #\r\n# NLS_LANG: BRAZILIAN PORTUGUESE_BRAZIL.WE8ISO8859P1 #\r\n# #\r\n# Thanks for testing! #\r\n# #\r\n##########################################################\r\n```","author":{"url":"https://github.com/felipebz","@type":"Person","name":"felipebz"},"datePublished":"2019-10-16T18:46:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/165/utPLSQL-cli/issues/165"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aa62bb1d-2751-8e24-d030-f2512a7f3a85 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC94:3AE3D1:6E69711:9210469:696DD9C5 |
| html-safe-nonce | 1750492c3349cff675114aa0f57f799dd6816d965c975935184c80fd3bc3475b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzk0OjNBRTNEMTo2RTY5NzExOjkyMTA0Njk6Njk2REQ5QzUiLCJ2aXNpdG9yX2lkIjoiMTk3NjMyMjYzNjAxODIxMTI2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6b8b9f69c625f57edfa5028445302269719dee8427b29aab6580151106b46a0b |
| hovercard-subject-tag | issue:508031757 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/utPLSQL/utPLSQL-cli/165/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a5053d5daf275ab64cc716fc0843dbb1160aa5108309e422a1ff0fa93b82f72/utPLSQL/utPLSQL-cli/issues/165 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a5053d5daf275ab64cc716fc0843dbb1160aa5108309e422a1ff0fa93b82f72/utPLSQL/utPLSQL-cli/issues/165 |
| og:image:alt | Hi! Somehow I missed the release of utPLSQL-cli v3.1.7 (which contains the fix for #143) and I'm testing it now... But when I run the command utplsql run |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | felipebz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/utPLSQL/utPLSQL-cli git https://github.com/utPLSQL/utPLSQL-cli.git |
| octolytics-dimension-user_id | 15661281 |
| octolytics-dimension-user_login | utPLSQL |
| octolytics-dimension-repository_id | 88671831 |
| octolytics-dimension-repository_nwo | utPLSQL/utPLSQL-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 88671831 |
| octolytics-dimension-repository_network_root_nwo | utPLSQL/utPLSQL-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width