Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-588

Repositories from Data module should be deactivatable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.1
    • Data-Module
    • None

    Description

      Unit testing with Test-Control is great. However since you don't control the actual implementation of the Repositories from data-module they are to hard to mock away.

      Either provide a built in project stage for this purpose -> ProjectStage.MockFriendlyUnitTest or make it Deactivatable like other components are.

      The end user would benefit a lot from being able to mock away repositories in certain unit tests.

      Attachments

        1. DELTASPIKE-588.diff
          2 kB
          Rafael Benevides

        Activity

          People

            rafabene Rafael Benevides
            karlkilden Karl Kildén
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: