@BroadleafAdminIntegrationTest @TestExecutionListeners(value={org.springframework.test.context.transaction.TransactionalTestExecutionListener.class,org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.class}) public abstract class TestNGAdminIntegrationSetup extends org.springframework.test.context.testng.AbstractTestNGSpringContextTests
AbstractTestNGSpringContextTests
in that this also includes the other default TestExecutionListeners in order to use @Transactional in test methods,
while not marking the entire test as @Transactional (like in TestNGTransactionalAdminIntegrationSetup.BroadleafAdminIntegrationTest,
TestNGTransactionalAdminIntegrationSetup| Constructor and Description |
|---|
TestNGAdminIntegrationSetup() |
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstanceCopyright © 2021. All rights reserved.