Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2269

Refactor the HTTP-* modules' unit tests to remove JCR-based mocks

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: Fedora 4.6.0
    • Fix Version/s: None
    • Component/s: f4-core
    • Labels:
      None
    • Roadmap Theme:
      API Specification
    • Sprint:
      Sprint 2017 - 19

      Description

      Once the kernel-api no longer has a direct dependency on JCR, the unit tests in the HTTP-* layers should be reviewed. At present, there is a lot of mocking of the entire JCR subsystem. It should be possible to mock only the injected service components, leaving JCR completely out of the unit testing framework.

      Ideally (for the HTTP-* modules), the presence of JCR/Modeshape should only exist in the Spring configuration used by the integration tests and nowhere else.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              unknown Unknown
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: