natterbox/codeception-ctrlc
Composer 安装命令:
composer require natterbox/codeception-ctrlc
包简介
Allows safe abortion of a run by pressing `Ctrl+C`
README 文档
README
Codeception module that allows safe abortion of a run by pressing Ctrl+C
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.
Installation
composer install "natterbox/codeception-ctrlc: ~1.0"
Usage
Enable the module in tests/<SuiteName>.suite.yml or codeception.yml.
...
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.
For a demo, please do checkout the example. Run the demo test and press Ctrl+C.
IMPORTANT NOTE: The code shown in examples folder is just a demo and it is not the most common use-case for this module.
统计信息
- 总下载量: 4.8k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-20