Title: Add ability to get expectation results without test-suite · Issue #956 · utPLSQL/utPLSQL · GitHub
Open Graph Title: Add ability to get expectation results without test-suite · Issue #956 · utPLSQL/utPLSQL
X Title: Add ability to get expectation results without test-suite · Issue #956 · utPLSQL/utPLSQL
Description: Describe the solution you'd like Currently, to see the outcomes of ut.expect... one needs to create unit test package spec, unit test body and invoke the ut.run. For some very simple (basic) test cases it would be hugely beneficial to al...
Open Graph Description: Describe the solution you'd like Currently, to see the outcomes of ut.expect... one needs to create unit test package spec, unit test body and invoke the ut.run. For some very simple (basic) test c...
X Description: Describe the solution you'd like Currently, to see the outcomes of ut.expect... one needs to create unit test package spec, unit test body and invoke the ut.run. For some very simple (basic) te...
Opengraph URL: https://github.com/utPLSQL/utPLSQL/issues/956
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add ability to get expectation results without test-suite","articleBody":"**Describe the solution you'd like**\r\nCurrently, to see the outcomes of `ut.expect...` one needs to create unit test package spec, unit test body and invoke the `ut.run`.\r\nFor some very simple (basic) test cases it would be hugely beneficial to allow invocation of expectations as it is possible in groovy.\r\nFor example, groovy allows for one-line asserts in groovy console:\r\n```groovy\r\ndef strArray = new String[3]\r\nassert strArray instanceof String[]\r\nstrArray[0] = 'mrhaki'\r\nstrArray.putAt(1, 'Groovy') // New syntax.\r\nstrArray[2] = 'Java'\r\n \r\nassert 'mrhaki' == strArray.getAt(0) // Just another way to get a value.\r\n\r\n```\r\n\r\nIt would be great to be able to invoke utPSLQL expecations in similar way from SQLPlus or any other SQL console, example:\r\n```sql\r\nexec ut.expect(1).to_equal(2);\r\n```\r\n\r\n\r\n**Additional context**\r\nWhen running outside of utPLSQL test-run, expectations should provide outputs straight to screen.\r\nWhen running within utPSLQL test-run, they should provide outputs as they do today (to be consumed by reporters)\r\n","author":{"url":"https://github.com/jgebal","@type":"Person","name":"jgebal"},"datePublished":"2019-06-24T14:07:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/956/utPLSQL/issues/956"}
| 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:d9ffa21c-e7a0-f34c-2c10-3b8b248952ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A854:1C6F95:82E535:86CAFB:6A6382A7 |
| html-safe-nonce | bcf3efbe3c302607ee8317f5c1ad180825fd1fbb63c182d229a3b348424b77f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODU0OjFDNkY5NTo4MkU1MzU6ODZDQUZCOjZBNjM4MkE3IiwidmlzaXRvcl9pZCI6IjQ0MjQ0MDAxODc0MDQwMjY1MzUiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | 33fdec78d6ad5efee028b00e8ba09bf1d8cdd1012261db1e0dbbad649f11854c |
| hovercard-subject-tag | issue:459912936 |
| 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/956/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e6903a37067ceefba21f40efa36f217db4076326a1f8a6544cffc10734cedfa/utPLSQL/utPLSQL/issues/956 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e6903a37067ceefba21f40efa36f217db4076326a1f8a6544cffc10734cedfa/utPLSQL/utPLSQL/issues/956 |
| og:image:alt | Describe the solution you'd like Currently, to see the outcomes of ut.expect... one needs to create unit test package spec, unit test body and invoke the ut.run. For some very simple (basic) test c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jgebal |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4fb64aef87da454ec25b158147f7f5f14aef29216e5ca1612c2e48faa599d1f |
| turbo-cache-control | no-preview |
| go-import | github.com/utPLSQL/utPLSQL git https://github.com/utPLSQL/utPLSQL.git |
| octolytics-dimension-user_id | 15661281 |
| octolytics-dimension-user_login | utPLSQL |
| octolytics-dimension-repository_id | 50728220 |
| octolytics-dimension-repository_nwo | utPLSQL/utPLSQL |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 50728220 |
| octolytics-dimension-repository_network_root_nwo | utPLSQL/utPLSQL |
| 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 | e839936ba5faffb9c836dda1cf4729d50c88a32e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width