2017 © Pedro Peláez
 

library codeception-profiler

Codeception extension used to profile unit tests

image

tankist/codeception-profiler

Codeception extension used to profile unit tests

  • Thursday, January 12, 2017
  • by tankist
  • Repository
  • 0 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Codeception profiler

Codeception extension used to profile unit tests, (*1)

Code Climate Test Coverage Issue Count, (*2)

Minimum Requirements

  • Codeception 2.1.0
  • PHP 5.4

Installation using Composer

$ composer require tankist/codeception-profiler

Be sure to enable the extension in codeception.yml as shown in configuration below., (*3)

Configuration

All enabling and configuration is done in codeception.yml., (*4)

Enabling Profiler with defaults

extensions:
    enabled:
        - Codeception\Extension\Profiler

Enabling Profiler with alternate settings

extensions:
    enabled:
        - Codeception\Extension\Profiler
    config:
        Codeception\Extension\Profiler:
            warningTimeLimit: 5
            errorTimeLimit: 30

Available options

  • warningTimeLimit: {warningTimeLimit}
    • If test execution time will exceed this limit test will be marked as warning (yellow)
    • Default: 1
  • errorTimeLimit: {errorTimeLimit}
    • If test execution time will exceed this limit test will be marked as error (red)
    • Default: 10

The Versions

12/01 2017

dev-master

9999999-dev

Codeception extension used to profile unit tests

  Sources   Download

MIT

The Requires

 

The Development Requires

by Victor Gryshko

11/12 2015

0.1.2

0.1.2.0

Codeception extension used to profile unit tests

  Sources   Download

MIT

The Requires

 

The Development Requires

by Victor Gryshko

10/12 2015

0.1.1

0.1.1.0

Codeception extension used to profile unit tests

  Sources   Download

MIT

The Development Requires

by Victor Gryshko

10/12 2015

0.1

0.1.0.0

Codeception extension used to profile unit tests

  Sources   Download

MIT

The Development Requires

by Victor Gryshko