If you have a spring test
Can you apply aspects to it? For example, if you did not want to apply the @Transactional annotation on the test method (or class) but instead wanted to apply them in an aspect.Code:@RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations={"classpath:spring-test-config.xml"}) public class MyTransactionSpringTest { @Test public void testSomething() { } }
Thanks in advance.


Reply With Quote
