On this page
Interface FixtureStrategyInterface
Base interface for strategies used to manage fixtures for TestCase.
Namespace: Cake\TestSuite\Fixture
Method Summary
setupTest() public
Called before each test run in each TestCase.
teardownTest() public
Called after each test run in each TestCase.
Method Detail
setupTest() public
setupTest(array<string> $fixtureNames): void
Called before each test run in each TestCase.
Parameters
array<string>
$fixtureNames-
Name of fixtures used by test.
Returns
void
teardownTest() public
teardownTest(): void
Called after each test run in each TestCase.
Returns
void
© 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/interface-Cake.TestSuite.Fixture.FixtureStrategyInterface.html