Class
TruncateFixtureStrategy
Fixture strategy that truncates all fixture tables at the end of test.
Namespace: Cake\TestSuite\Fixture
Deprecated: 5.2.10 Use {@link \Cake\TestSuite\Fixture\TruncateStrategy} instead. Will be removed in 5.3.0.
Deprecated: 5.2.10 Use {@link \Cake\TestSuite\Fixture\TruncateStrategy} instead. Will be removed in 5.3.0.
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.