Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53511

Improve discovery / readability of WebClient tricks in test

    XMLWordPrintable

Details

    • Jenkins 2.164

    Description

      When reviewing tests code, so often the developer is not aware of the WebClient#getOptions()#setThrowExceptionOnFailingStatusCode(false) trick and that implies the use of ugly try/catch.

      To ease the discovery of such options, the method should be only one-level depth.

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            wfollonier Wadeck Follonier
            wfollonier Wadeck Follonier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: