Class TransactionStrategy
Fixture strategy that wraps fixtures in a transaction that is rolled back after each test.
Any test that calls Connection::rollback(true) will break this strategy.
Namespace: Cake\TestSuite\Fixture
Property Summary
Method Summary
-
__construct() public
Initialize strategy.
-
setupTest() public
Called before each test run in each TestCase.
-
teardownTest() public
Called after each test run in each TestCase.