2017 © Pedro Peláez
 

library codeception-stepler

A simple Codeception extension which enables step by step debugging in console.

image

nicholascus/codeception-stepler

A simple Codeception extension which enables step by step debugging in console.

  • Monday, June 11, 2018
  • by nicholascus
  • Repository
  • 1 Watchers
  • 3 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Stepler

Stepler for Codeception is a small extension which enables console step-by-step execution of tests in debugging mode., (*1)

Installation and Usage

In order to use this extenstion you need to add a new dependency to your composer.json file:, (*2)

{
    "require": {
        "nicholascus/codeception-stepler": "~0.0.3"
    }
}

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. vendor/bin/codecept run --debug functional MyTestCest:test1, (*3)

Configuration and command line commands:

  1. In Codeception tests simply put it in "enabled" extensions section of codeception.yml:
extensions:
    enabled:
        - Nicholascus\Codeception\Extensions\Stepler

Once extension is enabled, it will stop test execution in console after each step and wait for Enter to be pressed:, (*4)

vendor/bin/codecept run --debug
  1. In Codeception tests simply put it in "commands" extensions section of codeception.yml:
extensions:
    commands:   
        - Nicholascus\Codeception\Commands\Stepler

Once command is enabled, it will duplicate run command accepting all the same parameters but also enabling Stepler step-by-step debug execution:, (*5)

vendor/bin/codecept stepler

The Versions

11/06 2018

dev-master

9999999-dev https://github.com/nicholascus/codeception-stepler

A simple Codeception extension which enables step by step debugging in console.

  Sources   Download

Apache-2.0

The Requires

 

by Nikolay Georgievskiy

testing console debugging codeception steps

11/06 2018

0.0.3

0.0.3.0 https://github.com/nicholascus/codeception-stepler

A simple Codeception extension which enables step by step debugging in console.

  Sources   Download

Apache-2.0

The Requires

 

by Nikolay Georgievskiy

testing console debugging codeception steps