You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Karl Kildén (JIRA)" <ji...@apache.org> on 2014/05/01 11:29:14 UTC

[jira] [Created] (DELTASPIKE-588) Repositories from Data module should be deactivatable

Karl Kildén created DELTASPIKE-588:
--------------------------------------

             Summary: Repositories from Data module should be deactivatable
                 Key: DELTASPIKE-588
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-588
             Project: DeltaSpike
          Issue Type: Improvement
          Components: Data-Module
            Reporter: Karl Kildén
            Priority: Minor


Unit testing with Test-Control is great. However since you don't control the actual implementation of our 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.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)