2017 © Pedro Peláez
 

library codeception-performance-test

Codeception Extension to measure the performance of your tests

image

webimp/codeception-performance-test

Codeception Extension to measure the performance of your tests

  • Sunday, January 8, 2017
  • by KhairulA
  • Repository
  • 1 Watchers
  • 0 Stars
  • 483 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

PerformanceTest

Codacy Badge, (*1)

Codeception Extension to list out slow steps during the test. Compatible with Codeception 2.2.7., (*2)

After running your tests you will see a Performance Report of your slow tests:, (*3)

Slow Steps (more than 2.5s) ----------------------
I click button 6s

Installation

Add PerformanceTest to your composer.json:, (*4)

  "require-dev": {
    ...
    "webimp/codeception-performance-test": "1.0.*",

Usage

Add this to your extensions line at the bottom of your codeception.yml:, (*5)

actor: Tester
paths:
    tests: tests
    log: tests/_output
    data: tests/_data
    helpers: tests/_support
settings:
    bootstrap: _bootstrap.php
    colors: true
    memory_limit: 1024M
extensions:
    enabled:
        - Codeception\Extension\PerformanceTest:
            benchmark: 2.5 # min seconds for step to be marked as "slow"

Include the file into your _bootstrap.php:, (*6)

include('./vendor/webimp/codeception-performance-test/src/PerformanceTest.php');

The Versions

08/01 2017

dev-master

9999999-dev https://github.com/webimp/codeception-performance-test

Codeception Extension to measure the performance of your tests

  Sources   Download

GPL-2.0

The Development Requires

tdd php unit testing functional testing acceptance testing performance

08/01 2017

1.0.4

1.0.4.0 https://github.com/webimp/codeception-performance-test

Codeception Extension to measure the performance of your tests

  Sources   Download

GPL-2.0

The Development Requires

tdd php unit testing functional testing acceptance testing performance

08/01 2017

1.0.3

1.0.3.0 https://github.com/webimp/codeception-performance-test

Codeception Extension to measure the performance of your tests

  Sources   Download

GPL-2.0

The Development Requires

tdd php unit testing functional testing acceptance testing performance

08/01 2017

1.0.2

1.0.2.0 https://github.com/webimp/codeception-performance-test

Codeception Extension to measure the performance of your tests

  Sources   Download

GPL-2.0

The Development Requires

tdd unit testing functional testing acceptance testing performance

08/01 2017

1.0.1

1.0.1.0 https://github.com/webimp/codeception-performance-test

Codeception Extension to measure the performance of your tests

  Sources   Download

GPL-2.0

The Development Requires

tdd unit testing functional testing acceptance testing performance

08/01 2017

1.0.0

1.0.0.0 https://github.com/webimp/codeception-performance-test

Codeception Extension to measure the performance of your tests

  Sources   Download

GPL2

The Development Requires

tdd unit testing functional testing acceptance testing performance