Fixture strategy that truncates all fixture ables at the end of test.
Initialize strategy.
Called before each test run in each TestCase.
Called after each test run in each TestCase.
__construct()
Initialize strategy.
setupTest(array<string> $fixtureNames): void
Called before each test run in each TestCase.
array<string>
$fixtureNames void
teardownTest(): void
Called after each test run in each TestCase.
void
arrayCake\Datasource\FixtureInterface>
Cake\TestSuite\Fixture\FixtureHelper
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/class-Cake.TestSuite.Fixture.TruncateStrategy.html