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