Title: Make Web Cmdlets Tests More Terse Friendly · Issue #5611 · PowerShell/PowerShell · GitHub
Open Graph Title: Make Web Cmdlets Tests More Terse Friendly · Issue #5611 · PowerShell/PowerShell
X Title: Make Web Cmdlets Tests More Terse Friendly · Issue #5611 · PowerShell/PowerShell
Description: The web cmdlets currently bleed quite a bit into the terse output. Even in the normal output, these tests are really hard to read. We should make these tests more terse friendly. now Describing Invoke-WebRequest tests !!+++++++++++++++++...
Open Graph Description: The web cmdlets currently bleed quite a bit into the terse output. Even in the normal output, these tests are really hard to read. We should make these tests more terse friendly. now Describing Inv...
X Description: The web cmdlets currently bleed quite a bit into the terse output. Even in the normal output, these tests are really hard to read. We should make these tests more terse friendly. now Describing Inv...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5611
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make Web Cmdlets Tests More Terse Friendly","articleBody":"The web cmdlets currently bleed quite a bit into the terse output. Even in the normal output, these tests are really hard to read. We should make these tests more terse friendly.\r\n\r\nnow\r\n```none\r\nDescribing Invoke-WebRequest tests\r\n!!++++++++++++++++++\r\nName Value\r\n---- -----\r\nItemID 987123\r\nName TestData\r\n\r\n\r\n' -Method POST -ContentType text/plain -TimeoutSec 5 222ms\r\n+\r\nName Value\r\n---- -----\r\nItemID 987123\r\nName TestData\r\n\r\n\r\n' -Method PATCH -ContentType text/plain -TimeoutSec 5 236ms\r\n+\r\nName Value\r\n---- -----\r\nItemID 987123\r\nName TestData\r\n\r\n\r\n' -Method PUT -ContentType text/plain -TimeoutSec 5 207ms\r\n+\r\nName Value\r\n---- -----\r\nItemID 987123\r\nName TestData\r\n\r\n\r\n' -Method DELETE -ContentType text/plain -TimeoutSec 5 259ms\r\n++\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\u003cObjects>\r\n\u003cObject>\r\n\u003cItemID>987123\u003c/ItemID>\r\n\u003cName>TestData\u003c/Name>\r\n\u003c/Object>\r\n\u003c/Objects>\r\n' -Method POST -ContentType application/xml -TimeoutSec 5 247ms\r\n+\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\u003cObjects>\r\n\u003cObject>\r\n\u003cItemID>987123\u003c/ItemID>\r\n\u003cName>TestData\u003c/Name>\r\n\u003c/Object>\r\n\u003c/Objects>\r\n' -Method PATCH -ContentType application/xml -TimeoutSec 5 3.28s\r\n+\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\u003cObjects>\r\n\u003cObject>\r\n\u003cItemID>987123\u003c/ItemID>\r\n\u003cName>TestData\u003c/Name>\r\n\u003c/Object>\r\n\u003c/Objects>\r\n' -Method PUT -ContentType application/xml -TimeoutSec 5 446ms\r\n+\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\u003cObjects>\r\n\u003cObject>\r\n\u003cItemID>987123\u003c/ItemID>\r\n\u003cName>TestData\u003c/Name>\r\n\u003c/Object>\r\n\u003c/Objects>\r\n' -Method DELETE -ContentType application/xml -TimeoutSec 5 255ms\r\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\r\n Context BasicHtmlWebResponseObject Encoding tests\r\n+++++++++\r\n Context HtmlWebResponseObject Encoding\r\n????????++?\r\n Context HTTPS Tests\r\n++++\r\n Context Multipart/form-data Tests\r\n+++\r\n Context Invoke-WebRequest -Authentication tests\r\n++++++++++++++++++\r\n Context Invoke-WebRequest -SslProtocol Test\r\n++++++++++++++++++++++\r\nDescribing Invoke-RestMethod tests\r\n!!++++++++++++++++++\r\nName Value\r\n---- -----\r\nItemID 987123\r\nName TestData\r\n\r\n\r\n' -Method POST -ContentType text/plain -TimeoutSec 5 205ms\r\n+\r\nName Value\r\n---- -----\r\nItemID 987123\r\nName TestData\r\n\r\n\r\n' -Method PATCH -ContentType text/plain -TimeoutSec 5 237ms\r\n+\r\nName Value\r\n---- -----\r\nItemID 987123\r\nName TestData\r\n\r\n\r\n' -Method PUT -ContentType text/plain -TimeoutSec 5 236ms\r\n+\r\nName Value\r\n---- -----\r\nItemID 987123\r\nName TestData\r\n\r\n\r\n' -Method DELETE -ContentType text/plain -TimeoutSec 5 234ms\r\n++\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\u003cObjects>\r\n\u003cObject>\r\n\u003cItemID>987123\u003c/ItemID>\r\n\u003cName>TestData\u003c/Name>\r\n\u003c/Object>\r\n\u003c/Objects>\r\n' -Method POST -ContentType application/xml -TimeoutSec 5 248ms\r\n+\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\u003cObjects>\r\n\u003cObject>\r\n\u003cItemID>987123\u003c/ItemID>\r\n\u003cName>TestData\u003c/Name>\r\n\u003c/Object>\r\n\u003c/Objects>\r\n' -Method PATCH -ContentType application/xml -TimeoutSec 5 245ms\r\n+\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\u003cObjects>\r\n\u003cObject>\r\n\u003cItemID>987123\u003c/ItemID>\r\n\u003cName>TestData\u003c/Name>\r\n\u003c/Object>\r\n\u003c/Objects>\r\n' -Method PUT -ContentType application/xml -TimeoutSec 5 221ms\r\n+\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\u003cObjects>\r\n\u003cObject>\r\n\u003cItemID>987123\u003c/ItemID>\r\n\u003cName>TestData\u003c/Name>\r\n\u003c/Object>\r\n\u003c/Objects>\r\n' -Method DELETE -ContentType application/xml -TimeoutSec 5 265ms\r\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\r\n Context HTTPS Tests\r\n++++\r\n Context Multipart/form-data Tests\r\n+++\r\n Context Invoke-RestMethod Encoding tests with BasicHtmlWebResponseObject response\r\n+++++++++\r\n Context Invoke-RestMethod Encoding tests with HtmlWebResponseObject response\r\n????????\r\n Context Invoke-RestMethod ResponseHeadersVariable Tests\r\n++\r\n Context Invoke-RestMethod -Authentication tests\r\n++++++++++++++++++\r\n Context Invoke-RestMethod -SslProtocol Test\r\n++++++++++++++++++++++\r\n Context Invoke-RestMethod Single Value JSON null support\r\n++\r\nDescribing Validate Invoke-WebRequest and Invoke-RestMethod -InFile\r\n Context InFile parameter negative tests\r\n++++++\r\n Context InFile parameter positive tests\r\n++\r\nDescribing Web cmdlets tests using the cmdlet's aliases\r\n++\r\nTests completed in 197.65s\r\nPassed: 320 Failed: 0 Skipped: 4 Pending: 17\r\n```\r\n\r\nAfter\r\n\r\n```none\r\nDescribing Invoke-WebRequest tests\r\n!!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\r\n Context BasicHtmlWebResponseObject Encoding tests\r\n+++++++++\r\n Context HtmlWebResponseObject Encoding\r\n????????++?\r\n Context HTTPS Tests\r\n++++\r\n Context Multipart/form-data Tests\r\n+++\r\n Context Invoke-WebRequest -Authentication tests\r\n++++++++++++++++++\r\n Context Invoke-WebRequest -SslProtocol Test\r\n++++++++++++++++++++++\r\nDescribing Invoke-RestMethod tests\r\n!!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\r\n Context HTTPS Tests\r\n++++\r\n Context Multipart/form-data Tests\r\n+++\r\n Context Invoke-RestMethod Encoding tests with BasicHtmlWebResponseObject response\r\n+++++++++\r\n Context Invoke-RestMethod Encoding tests with HtmlWebResponseObject response\r\n????????\r\n Context Invoke-RestMethod ResponseHeadersVariable Tests\r\n++\r\n Context Invoke-RestMethod -Authentication tests\r\n++++++++++++++++++\r\n Context Invoke-RestMethod -SslProtocol Test\r\n++++++++++++++++++++++\r\n Context Invoke-RestMethod Single Value JSON null support\r\n++\r\nDescribing Validate Invoke-WebRequest and Invoke-RestMethod -InFile\r\n Context InFile parameter negative tests\r\n++++++\r\n Context InFile parameter positive tests\r\n++\r\nDescribing Web cmdlets tests using the cmdlet's aliases\r\n++\r\nTests completed in 197.65s\r\nPassed: 320 Failed: 0 Skipped: 4 Pending: 17\r\n```","author":{"url":"https://github.com/markekraus","@type":"Person","name":"markekraus"},"datePublished":"2017-12-02T15:48:46Z","url":"https://github.com/PowerShell/PowerShell/issues/5611"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3242deec-3737-4c04-bb35-26791b9d443d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1A8:30B76:28E4F2:385F87:6AFDA1AC |
| html-safe-nonce | e4e358f584c098ec53a8e8aa0cbabf617c127b6d67309f46a868ba3e891c78c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUE4OjMwQjc2OjI4RTRGMjozODVGODc6NkFGREExQUMiLCJ2aXNpdG9yX2lkIjoiODYzMjk1Njk4OTE0MTI2Mjc2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a114994d5181a8339270859bbb36cf25b7eca4ada44fdc720f095e5ecff08ab8 |
| hovercard-subject-tag | issue:278693513 |
| 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/PowerShell/PowerShell/5611/issue_layout |
| twitter:image | https://opengraph.githubassets.com/606bae5e479e1752abe44e4a050b2f1e879f4bb7fe5af229861221d798c14bcb/PowerShell/PowerShell/issues/5611 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/606bae5e479e1752abe44e4a050b2f1e879f4bb7fe5af229861221d798c14bcb/PowerShell/PowerShell/issues/5611 |
| og:image:alt | The web cmdlets currently bleed quite a bit into the terse output. Even in the normal output, these tests are really hard to read. We should make these tests more terse friendly. now Describing Inv... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | markekraus |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width