2017 © Pedro Peláez
 

library codeception-ctrlc

Allows safe abortion of a run by pressing `Ctrl+C`

image

natterbox/codeception-ctrlc

Allows safe abortion of a run by pressing `Ctrl+C`

  • Friday, November 20, 2015
  • by redmatter
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,231 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

Codeception-CtrlC

Codeception module that allows safe abortion of a run by pressing Ctrl+C, (*1)

This module will make sure that any cleanup that take place during a test tear-down will not be interrupted due to the user pressing Ctrl+C., (*2)

Installation

composer install "natterbox/codeception-ctrlc: ~1.0"

Usage

Enable the module in tests/<SuiteName>.suite.yml or codeception.yml., (*3)

...
modules:
    enabled:
        ...
        - Codeception\Extension\CtrlC
        ...
    config:
        ...
        Codeception\Extension\CtrlC:
            debug: true
        ...

Benefits of this module can be enjoyed just by adding it in the config., (*4)

For a demo, please do checkout the example. Run the demo test and press Ctrl+C., (*5)

IMPORTANT NOTE: The code shown in examples folder is just a demo and it is not the most common use-case for this module., (*6)

The Versions

20/11 2015

2.0.x-dev

2.0.9999999.9999999-dev

Allows safe abortion of a run by pressing `Ctrl+C`

  Sources   Download

MIT

The Requires

 

by dino.korah

20/11 2015

dev-master

9999999-dev

Allows safe abortion of a run by pressing `Ctrl+C`

  Sources   Download

MIT

The Requires

 

by dino.korah

20/11 2015

2.0.0-RC1

2.0.0.0-RC1

Allows safe abortion of a run by pressing `Ctrl+C`

  Sources   Download

MIT

The Requires

 

by dino.korah

20/11 2015

1.0.x-dev

1.0.9999999.9999999-dev

Allows safe abortion of a run by pressing `Ctrl+C`

  Sources   Download

MIT

The Requires

 

by dino.korah

20/11 2015

1.0.0

1.0.0.0

Allows safe abortion a run by pressing `Ctrl+C`

  Sources   Download

MIT

The Requires

 

by dino.korah