Title: Missing line break after suite annotation in generator skeleton template · Issue #157 · utPLSQL/utPLSQL-SQLDeveloper · GitHub
Open Graph Title: Missing line break after suite annotation in generator skeleton template · Issue #157 · utPLSQL/utPLSQL-SQLDeveloper
X Title: Missing line break after suite annotation in generator skeleton template · Issue #157 · utPLSQL/utPLSQL-SQLDeveloper
Description: This is the PL/SQL package to test: create or replace package etl is procedure refresh_deptsal; end etl; / When generating a utPLSQL test via context menu or via oddgen the generated code looks like this: create or replace package test_e...
Open Graph Description: This is the PL/SQL package to test: create or replace package etl is procedure refresh_deptsal; end etl; / When generating a utPLSQL test via context menu or via oddgen the generated code looks lik...
X Description: This is the PL/SQL package to test: create or replace package etl is procedure refresh_deptsal; end etl; / When generating a utPLSQL test via context menu or via oddgen the generated code looks lik...
Opengraph URL: https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/157
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing line break after suite annotation in generator skeleton template","articleBody":"This is the PL/SQL package to test:\r\n\r\n```sql\r\ncreate or replace package etl is\r\n procedure refresh_deptsal;\r\nend etl;\r\n/\r\n```\r\n\r\nWhen generating a utPLSQL test via context menu or via oddgen the generated code looks like this:\r\n\r\n```sql\r\ncreate or replace package test_etl is\r\n\r\n --%suite(test_etl)\r\n --%test\r\n procedure refresh_deptsal;\r\n\r\nend test_etl;\r\n/\r\n\r\ncreate or replace package body test_etl is\r\n\r\n procedure refresh_deptsal is\r\n l_actual integer := 0;\r\n l_expected integer := 1;\r\n begin\r\n ut.expect(l_actual).to_equal(l_expected);\r\n end refresh_deptsal;\r\n\r\nend test_etl;\r\n/\r\n```\r\n\r\nGenerator settings look like this:\r\n\r\n\r\n\r\nSince there is no empty line between `--%suite(test_etl)` and `--%test` the test is not found by the utPLSQL framework. \r\n\r\nThis run:\r\n\r\n```sql\r\nset serveroutput on size unlimited\r\nexecute ut.run;\r\n```\r\n\r\nproduced this result: \r\n\r\n```\r\nFinished in 0 seconds\r\n0 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)\r\n \r\n\r\n\r\nPL/SQL procedure successfully completed.\r\n```\r\n\r\nMaybe this is related to #156.\r\n\r\n","author":{"url":"https://github.com/PhilippSalvisberg","@type":"Person","name":"PhilippSalvisberg"},"datePublished":"2022-07-23T11:38:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/157/utPLSQL-SQLDeveloper/issues/157"}
| 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:e3e7d4c6-a6e3-423f-de3d-771e9947e5fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D262:2D943D:8C543F:C4DE7B:696A185B |
| html-safe-nonce | 1d2829ec72b1acdb2f33d28232f665822fe59d19437897af8a8ca5abe298b8d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjYyOjJEOTQzRDo4QzU0M0Y6QzRERTdCOjY5NkExODVCIiwidmlzaXRvcl9pZCI6Ijc2MzA2NDA0Nzg1NzQ0MDg1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6e22029ae140d77892d3adc083133ef462d607d94ec44339d0a0d365a1299150 |
| hovercard-subject-tag | issue:1315638412 |
| 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-SQLDeveloper/157/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f8bd753ad2750c87f0c0d72e9f7cda228826f4d52ec155a0a8d467b4aebd803f/utPLSQL/utPLSQL-SQLDeveloper/issues/157 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f8bd753ad2750c87f0c0d72e9f7cda228826f4d52ec155a0a8d467b4aebd803f/utPLSQL/utPLSQL-SQLDeveloper/issues/157 |
| og:image:alt | This is the PL/SQL package to test: create or replace package etl is procedure refresh_deptsal; end etl; / When generating a utPLSQL test via context menu or via oddgen the generated code looks lik... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PhilippSalvisberg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 34a52bd10bd674f68e5c1b6b74413b79bf2ca20c551055ace3f7cdd112803923 |
| turbo-cache-control | no-preview |
| go-import | github.com/utPLSQL/utPLSQL-SQLDeveloper git https://github.com/utPLSQL/utPLSQL-SQLDeveloper.git |
| octolytics-dimension-user_id | 15661281 |
| octolytics-dimension-user_login | utPLSQL |
| octolytics-dimension-repository_id | 111097428 |
| octolytics-dimension-repository_nwo | utPLSQL/utPLSQL-SQLDeveloper |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 111097428 |
| octolytics-dimension-repository_network_root_nwo | utPLSQL/utPLSQL-SQLDeveloper |
| 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 | e8bd37502700f365b18a4d39acf7cb7947e11b1a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width