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

Factor Docker fixtures out of acceptance-test-harness for use in functional tests

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Lots of plugin functional tests using JenkinsRule assume some kind of software environment on the testing host, typically for running external processes (for example SCM tools), but this is rarely explicit. That makes it complicated to assure that both developer machines and CI builders have all required software packages installed and in the correct versions and configurations.

      The acceptance-test-harness includes a very useful DockerFixture system which addresses this for acceptance tests. But acceptance tests are slow, flaky, and external to plugin sources, so most test code is written using functional tests.

      We need to be able to reuse the same system in both kinds of tests.

        Attachments

          Activity

          jglick Jesse Glick created issue -
          jglick Jesse Glick made changes -
          Field Original Value New Value
          Assignee Oliver Gond┼ża [ olivergondza ] Jesse Glick [ jglick ]
          jglick Jesse Glick made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jglick Jesse Glick made changes -
          Remote Link This issue links to "PR 1 (Web Link)" [ 15199 ]
          jglick Jesse Glick made changes -
          Remote Link This issue links to "PR 1 (Web Link)" [ 15199 ]
          jglick Jesse Glick made changes -
          Remote Link This issue links to "Inception PR (Web Link)" [ 15200 ]
          jglick Jesse Glick made changes -
          Remote Link This issue links to "acceptance-test-harness PR 252 (Web Link)" [ 15202 ]
          jglick Jesse Glick made changes -
          Remote Link This issue links to "mercurial PR 93 (Web Link)" [ 15203 ]
          jglick Jesse Glick made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          jglick Jesse Glick made changes -
          Link This issue is blocked by HOSTING-254 [ HOSTING-254 ]
          batmat Baptiste Mathus made changes -
          Description Lots of plugin functional tests using {{JenkinsRuke}} assume some kind of software environment on the testing host, typically for running external processes (for example SCM tools), but this is rarely explicit. That makes it complicated to assure that both developer machines and CI builders have all required software packages installed and in the correct versions and configurations.

          The {{acceptance-test-harness}} includes a very useful {{DockerFixture}} system which addresses this for acceptance tests. But acceptance tests are slow, flaky, and external to plugin sources, so most test code is written using functional tests.

          We need to be able to reuse the same system in both kinds of tests.
          Lots of plugin functional tests using {{JenkinsRule}} assume some kind of software environment on the testing host, typically for running external processes (for example SCM tools), but this is rarely explicit. That makes it complicated to assure that both developer machines and CI builders have all required software packages installed and in the correct versions and configurations.

          The {{acceptance-test-harness}} includes a very useful {{DockerFixture}} system which addresses this for acceptance tests. But acceptance tests are slow, flaky, and external to plugin sources, so most test code is written using functional tests.

          We need to be able to reuse the same system in both kinds of tests.
          jglick Jesse Glick made changes -
          Status In Review [ 10005 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          cloudbees CloudBees Inc. made changes -
          Remote Link This issue links to "CloudBees Internal OSS-1790 (Web Link)" [ 18569 ]

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              jglick Jesse Glick
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: