hi harald, if you really need it, you can use a custom test-extension -> use ClassUtils#tryToLoadClassForName + AnnotationInstanceProvider + AnnotatedTypeBuilder in a ProcessAnnotatedType observer to add the interceptor dyn. furthermore you need a junit TestRule.
regards, gerhard 2015-06-14 21:16 GMT+02:00 Harald Wellmann <[email protected]>: > Are there any examples of DeltaSpike tests that require Java EE 7 APIs as > test scope dependencies? If not, what would be the best way to get started > without breaking Java EE 6 compatibility? > > I would like to add a few tests for the Data module using the > @javax.transaction.Transactional interceptor binding, as regression tests > for DELTASPIKE-420 and DELTASPIKE-904. > > Regards, > Harald >
