| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 | <?phpnamespace Helper;use Codeception;// here you can define custom actions// all public methods declared in helper class will be available in $I/** * Class Unit * @package Helper */class Unit extends Codeception\Module{    /**     * HOOK: used after configuration is loaded     */    public function _initialize() {    }    /**     * HOOK: on every Actor class initialization     */    public function _cleanup() {    }    /**     * HOOK: before suite     *     * @param array $settings     */    public function _beforeSuite($settings = []) {    }    /**     * HOOK: after suite     **/    public function _afterSuite() {    }    /**     * HOOK: before each step     *     * @param Codeception\Step $step*     */    public function _beforeStep(Codeception\Step $step) {    }    /**     * HOOK: after each step     *     * @param Codeception\Step $step     */    public function _afterStep(Codeception\Step $step) {    }    /**     * HOOK: before each suite     *     * @param Codeception\TestCase $test     */    public function _before(Codeception\TestCase $test) {    }    /**     * HOOK: before each suite     *     * @param Codeception\TestCase $test     */    public function _after(Codeception\TestCase $test) {    }    /**     * HOOK: on fail     *     * @param Codeception\TestCase $test     * @param $fail     */    public function _failed(Codeception\TestCase $test, $fail) {    }}
 |