Download the PHP package nicholascus/codeception-stepler without Composer
On this page you can find all versions of the php package nicholascus/codeception-stepler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nicholascus/codeception-stepler
More information about nicholascus/codeception-stepler
Files in nicholascus/codeception-stepler
Package codeception-stepler
Short Description A simple Codeception extension which enables step by step debugging in console.
License Apache-2.0
Homepage https://github.com/nicholascus/codeception-stepler
Informations about the package codeception-stepler
Stepler
Stepler for Codeception is a small extension which enables console step-by-step execution of tests in debugging mode.
Installation and Usage
In order to use this extenstion you need to add a new dependency to your composer.json file:
For step-by-step execution use one of following options:
- enable Stepler as extenstion and have it applied to all run commands;
- enable Stepler as custom command and use it instead of run when you need. With both options you can run all tests in your project, but that probably would make more sense to limit execution to one test case using run/stepler command with arguments of suite name, test class and individual test, e.g.
Configuration and command line commands:
- In Codeception tests simply put it in "enabled" extensions section of codeception.yml:
Once extension is enabled, it will stop test execution in console after each step and wait for Enter to be pressed:
- In Codeception tests simply put it in "commands" extensions section of codeception.yml:
Once command is enabled, it will duplicate run command accepting all the same parameters but also enabling Stepler step-by-step debug execution: