Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 477 Bytes

File metadata and controls

15 lines (10 loc) · 477 Bytes

Method Documentation: beforeScenario

Description

The beforeScenario method is a hook that is executed before each scenario in Behat. It prepares the database by loading fixtures for all the configured database connections. This method is annotated with @BeforeScenario, which ensures it is triggered automatically by Behat before any scenario runs.

Method Details

Method Signature

/**
 * @BeforeScenario
 */
public function beforeScenario(): void