Skip to content

tankist/codeception-profiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeception profiler

Codeception extension used to profile unit tests

Code Climate Test Coverage Issue Count

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.

Configuration

All enabling and configuration is done in codeception.yml.

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

About

Codeception extension used to profile unit tests

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy