Title: The 1st character of the files paths is removed from the reports · Issue #220 · utPLSQL/utPLSQL-cli · GitHub
Open Graph Title: The 1st character of the files paths is removed from the reports · Issue #220 · utPLSQL/utPLSQL-cli
X Title: The 1st character of the files paths is removed from the reports · Issue #220 · utPLSQL/utPLSQL-cli
Description: I'm using the cli to execute my tests and generate my reports, example: utplsql run ${ORACLE_USER}/${ORACLE_PASSWORD}@${ORACLE_HOST}:${ORACLE_PORT}/${ORACLE_SERVICE} \ -source_path=src \ -test_path=tests \ -f=ut_documentation_reporter -c...
Open Graph Description: I'm using the cli to execute my tests and generate my reports, example: utplsql run ${ORACLE_USER}/${ORACLE_PASSWORD}@${ORACLE_HOST}:${ORACLE_PORT}/${ORACLE_SERVICE} \ -source_path=src \ -test_path...
X Description: I'm using the cli to execute my tests and generate my reports, example: utplsql run ${ORACLE_USER}/${ORACLE_PASSWORD}@${ORACLE_HOST}:${ORACLE_PORT}/${ORACLE_SERVICE} \ -source_path=src \ -test_...
Opengraph URL: https://github.com/utPLSQL/utPLSQL-cli/issues/220
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The 1st character of the files paths is removed from the reports","articleBody":"I'm using the cli to execute my tests and generate my reports, example:\r\n\r\n```bash\r\nutplsql run ${ORACLE_USER}/${ORACLE_PASSWORD}@${ORACLE_HOST}:${ORACLE_PORT}/${ORACLE_SERVICE} \\\r\n-source_path=src \\\r\n-test_path=tests \\\r\n-f=ut_documentation_reporter -c \\\r\n-f=ut_coverage_html_reporter -o=results/coverage.html \\\r\n-f=ut_coverage_cobertura_reporter -o=results/cobertura.xml \\\r\n-f=ut_coverage_sonar_reporter -o=results/coverage.xml \\\r\n-f=ut_sonar_test_reporter -o=results/test_results.xml \\\r\n-f=ut_junit_reporter -o=results/junit_test_results.xml \\\r\n--failure-exit-code=0\r\n```\r\n\r\nHowever the reports are being generated with file paths missing the 1st character no matter how I terminate the cli properties or reorganize my folder structure. I'm tried enclosing with both single and double qoutes.\r\n\r\nThis happens with all the cobertura report, sonar coverage and sonar test reports that I've tried.\r\n\r\n```xml\r\n\u003c?xml version=\"1.0\" encoding=\"US-ASCII\"?\u003e\r\n\u003ccoverage version=\"1\"\u003e\r\n\u003cfile path=\"rc/award_bonus/award_bonus.prc\"\u003e\r\n\u003clineToCover lineNumber=\"6\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"10\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"11\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"13\" covered=\"true\"/\u003e\r\n\u003c/file\u003e\r\n\u003cfile path=\"rc/between_string/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\u003cfile path=\"rc/remove_rooms_by_name/remove_rooms_by_name.prc\"\u003e\r\n\u003clineToCover lineNumber=\"3\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"4\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"6\" covered=\"true\"/\u003e\r\n\u003c/file\u003e\r\n\u003c/coverage\u003e\r\n```\r\n\r\nThe only work around so far is to add absolute pathing, e.g. './src'. This generates the following\r\n\r\n```xml\r\n\u003c?xml version=\"1.0\" encoding=\"US-ASCII\"?\u003e\r\n\u003ccoverage version=\"1\"\u003e\r\n\u003cfile path=\"/src/award_bonus/award_bonus.prc\"\u003e\r\n\u003clineToCover lineNumber=\"6\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"10\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"11\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"13\" covered=\"true\"/\u003e\r\n\u003c/file\u003e\r\n\u003cfile path=\"/src/between_string/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\u003cfile path=\"/src/remove_rooms_by_name/remove_rooms_by_name.prc\"\u003e\r\n\u003clineToCover lineNumber=\"3\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"4\" covered=\"true\"/\u003e\r\n\u003clineToCover lineNumber=\"6\" covered=\"true\"/\u003e\r\n\u003c/file\u003e\r\n\u003c/coverage\u003e\r\n```\r\n\r\nBut this doesnt work for sonarqube server instance as the / infront of the filepath is not recognized and sonarqube cannot see the files listed and no coverage report is generated.\r\n","author":{"url":"https://github.com/BrandonMercerSC","@type":"Person","name":"BrandonMercerSC"},"datePublished":"2023-10-02T11:19:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/220/utPLSQL-cli/issues/220"}
| 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:fe906e47-092e-6401-47a8-6448bab61051 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 864E:B32AB:DBF87A:1239D53:69702221 |
| html-safe-nonce | 68bc5cef382ef7e7f8ce7fe0078a8f2e62b80f65373a6fa9036775aae0d43260 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjRFOkIzMkFCOkRCRjg3QToxMjM5RDUzOjY5NzAyMjIxIiwidmlzaXRvcl9pZCI6IjI1MTc3OTYxODEwMDE2NDI1MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e2ec5101f1c64a10f000f4999cc479d4b7378d5d95234ed6a85d448707bbda85 |
| hovercard-subject-tag | issue:1921721126 |
| 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/220/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7eb72c4e78cbd2b94a051905a4ab91cb255fe4fae96311ea66dbf2ee98bd1357/utPLSQL/utPLSQL-cli/issues/220 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7eb72c4e78cbd2b94a051905a4ab91cb255fe4fae96311ea66dbf2ee98bd1357/utPLSQL/utPLSQL-cli/issues/220 |
| og:image:alt | I'm using the cli to execute my tests and generate my reports, example: utplsql run ${ORACLE_USER}/${ORACLE_PASSWORD}@${ORACLE_HOST}:${ORACLE_PORT}/${ORACLE_SERVICE} \ -source_path=src \ -test_path... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BrandonMercerSC |
| hostname | github.com |
| expected-hostname | github.com |
| None | 26d344b5c41e8171f05f1b33de4ed89a222e01250099adfcd988bb0e02fd1cbb |
| 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 | 9f0c240136b4f91bdb92e57a88ba5dc425cbdb12 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width