If you have a specific question on the persistence extension not covered here [1] you can always ask on the Arquillian forum, the gentleman responsible for it is very friendly and helpful ;-) For some code samples you can take [2] as a starting point (concrete Arquillian deployments are in subclasses in the subpackage).
[1] https://docs.jboss.org/author/display/ARQ/Persistence [2] https://github.com/arquillian/arquillian-extension-persistence/blob/master/int-tests/src/test/java/org/jboss/arquillian/integration/persistence/example/NonDeployableUserPersistenceTest.java On Tue, Sep 2, 2014 at 11:57 PM, hwaastad <[email protected]> wrote: > Hi, > always looking out for a better way to build my tests :-) > > mocking, well sometimes I just need mock for throwing exceptions and > anomality. > > Now, I know arquillian is a powerful framework and I guess you can > dynamically assign alternatives/stereotypes aswell by defining this with a > addasmanifestresource/beans.xml/stringasset. > > I guess I just got to roll up my sleaves and do a bit more investigation on > the persistence extension. > > I someone has a link or to I would be most greateful :-) > I know Romain wrote something about this in his blog,though. > > Well guys, > thanks a lot for feedback. > > br hw > > > > -- > View this message in context: > http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/mocking-of-abstractentityrepository-implementations-tp4658745p4658766.html > Sent from the Apache DeltaSpike Incubator Discussions mailing list archive > at Nabble.com. >
