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

Move shared test dependencies to parent pom

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 3.0.0
    • 3.0.0
    • backend
    • None

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce