Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2557

Replace the usage of mockito-all with mockito-core in the test classpath

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 5.0.0.Final, 3.8.x-prod-ip6.3
    • 3.8.x-prod-ip6.2, 4.5.0.Final
    • Testing
    • None

      ModeShape uses across several of its modules the mockito-all library for mocking in certain tests. However, this library has a transitive dependency towards hamcrest-core which could potentially come in conflict if/when another independent version of hamcrest is used together with junit.

      To avoid these potential conflicts, we should replace the usage of mockito-all with mockito-core which doesn't have this transitive dependency.

            hchiorean Horia Chiorean (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: