Uploaded image for project: 'Infrastructure (read-only, moved to lab.c.o)'
  1. Infrastructure (read-only, moved to lab.c.o)
  2. INFRA-116

Buildkit should execute unit-tests on headless database

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: buildkit
    • Labels:
      None
    • Sprint:
      No

      Description

      When running unit-tests on a build produced by buildkit, the tests currently run against the CiviCRM database. This is useful for WebTests but breaks the site for API/CRM tests.

      The appropriate policy is to:
       * Create two Civi DBs -- regular DB and headless test DB
       * For Web Tests, use regular DB
       * For API/CRM tests, use headless test DB

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: