[ https://issues.apache.org/jira/browse/DELTASPIKE-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Kildén updated DELTASPIKE-588: ----------------------------------- 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. was: 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. > 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 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. -- This message was sent by Atlassian JIRA (v6.2#6252)