Increase automated test coverage

      Automated test coverage of the plugin is low.
      Improve the automated test coverage by submitting one or more pull requests with new automated tests.

      Review current coverage

      Review the detailed test coverage with the commands:

      Linux

      $ mvn -P enable-jacoco clean install jacoco:report
      $ xdg-open target/site/jacoco/index.html
      

      Windows

      C:\Users\Yourname > mvn -P enable-jacoco clean install jacoco:report
      C:\Users\Yourname > start target\site\jacoco\index.html
      

      Create a new test for a class that is not well covered

      Most integrated development environments have tools that will create a test stub that is a good beginning.

      Use the IDE or your own coding to create a test for one of the classes that is not well covered by tests.

      Keep the test small so that the pull request is easy to review.

          [JENKINS-71994] Improve test coverage of poll SCM plugin

          Mark Waite created issue -
          Mark Waite made changes -
          Assignee Original: Vincent Latombe [ vlatombe ]
          Subhojit made changes -
          Assignee New: Subhojit [ subhojitdey09 ]
          Subhojit made changes -
          Assignee Original: Subhojit [ subhojitdey09 ] New: Vincent Latombe [ vlatombe ]
          Subhojit made changes -
          Assignee Original: Vincent Latombe [ vlatombe ] New: Subhojit [ subhojitdey09 ]
          Subhojit made changes -
          Assignee Original: Subhojit [ subhojitdey09 ]
          Subhojit made changes -
          Assignee New: Subhojit [ subhojitdey09 ]

          Subhojit added a comment -

          Added a PR for this issue :
          1. JENKINS-71994

          I am new to this project. Let me know if any changes are required.

          Subhojit added a comment - Added a PR for this issue : 1. JENKINS-71994 I am new to this project. Let me know if any changes are required.
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Fixed but Unreleased [ 10203 ]

            subhojitdey09 Subhojit
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: