@BroadleafSiteIntegrationTest public abstract class TestNGTransactionalSiteIntegrationSetup extends org.springframework.test.context.testng.AbstractTransactionalTestNGSpringContextTests
The @Transactional version of the TestNGSiteIntegrationSetup. All @Test methods contained
within any subclasses of this are run within the TransactionUtils.DEFAULT_TRANSACTION_MANAGER transaction manager.
However, all test-level transactions default to @Rollback(true).
You can get finer-grained control over which classes are @Transactional and which ones aren't by instead subclassing
TestNGSiteIntegrationSetup instead and annotating individual @Test methods.
AbstractTransactionalTestNGSpringContextTests,
TransactionalTestExecutionListener,
BroadleafSiteIntegrationTest| Constructor and Description |
|---|
TestNGTransactionalSiteIntegrationSetup() |
countRowsInTable, countRowsInTableWhere, deleteFromTables, deleteFromTableWhere, dropTables, executeSqlScript, setDataSource, setSqlScriptEncodingrun, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstanceCopyright © 2025. All rights reserved.