Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3453

Move shared test dependencies to parent pom

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.0.0
    • 3.0.0
    • 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

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: