ipeevski / pauseonfail
Extension for Codeception to Pause on Fail
Installs: 82 667
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 8
Open Issues: 0
Requires (Dev)
- codeception/codeception: @dev
This package is auto-updated.
Last update: 2024-12-20 15:33:13 UTC
README
This repository demonstrates the usage of Codeception Extension API.
Pause on Fail Extension for Codeception
When doing acceptance testing in Codeception, it is often useful to pause when a failure or error occurs, while developing the tests themselves. It lets you inspect the state and find a better way to solve the same problem and continue onwards.
Installation
- Install Codeception via Composer
- Run
composer require --dev ipeevski/pauseonfail
. - Include extensions into
codeception.yml
configuration:
Sample:
paths: tests: tests log: tests/_log data: tests/_data helpers: tests/_helpers extensions: enabled: - Codeception\Extension\PauseOnFail
- For the pause to have an effect, you need to run codeception in debugging mode, with the
--debug
flag
Pause
Class: Codeception\Extension\PauseOnFail.
If tests run into failure or error, pause and bring up console.