Skip to content
Notification Extension for Codeception
PHP
Branch: master
Clone or download
Pull request Compare This branch is 6 commits ahead, 4 commits behind Codeception:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Codeception/Extension
.gitignore
LICENSE
README.md
codeception.yml
composer.json

README.md

Pause On Fail

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

  1. Install Codeception via Composer
  2. Run composer require --dev ipeevski/pauseonfail.
  3. Include extensions into codeception.yml configuration:

Sample:

paths:
    tests: tests
    log: tests/_log
    data: tests/_data
    helpers: tests/_helpers
extensions:
    enabled:
      - Codeception\Extension\PauseOnFail
  1. 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.


You can’t perform that action at this time.