Move shared test dependencies to parent pom

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.0.0
    • Affects Version/s: 3.0.0
    • Component/s: backend
    • None

      Context:
      We currently have test dependencies used across the code-base configured per module.
      This has a couple of downsides, it's hard to keep them aligned and as test depenencioes are not inherited transitively dependencies have to get duplicated or might trigger compile or runtime errors for tests in maven but not in intellij (as intellij seems to share the classpath across modules).

      Even more importantly incorrect dependency setup may lead to tests not being run at all as found on the nightly query performance tests:

      [INFO] Running org.camunda.optimize.test.query.performance.QueryPerformanceTest
      [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.camunda.optimize.test.query.performance.QueryPerformanceTest
      

      AT:

      • all shared test depenencies are configured in the parent pom.xml
        • these are junit
        • hamcrest
        • assertj
        • mockito
        • mockserver
      • query performance tests run correctly on jenkins

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: