cloudstek / codeception-fancy-dot-reporter
Enhanced version of the DotReporter found in Codeception
Requires (Dev)
- codeception/codeception: ^2.3
- friendsofphp/php-cs-fixer: ^2.13
- squizlabs/php_codesniffer: ^3.3
This package is auto-updated.
Last update: 2024-10-23 12:20:43 UTC
README
This is a fork from the DotReporter of Codeception and adds some fancy enhancements that make it behave more like PHPUnit's reporter.
Requirements
- Codeception 2.3+
- PHP 5.4+
Example
.......... 10 / 75 ( 13%) .......... 20 / 75 ( 28%) .......... 30 / 75 ( 40%) .......... 40 / 75 ( 54%) .......... 50 / 75 ( 67%) .......... 60 / 75 ( 80%) .......... 70 / 75 ( 94%) ..... 75 / 75 (100%) Time: 2.07 seconds, Memory: 20.00MB OK (75 tests, 124 assertions)
.
when the test succeeds.
F
when an assertion fails while running the test method.
E
when an error occurs while running the test method.
S
when the test has been skipped.
I
when the test is marked as being incomplete or not yet implemented.
Installation
Using composer
- Install using composer
composer require --dev cloudstek/codeception-fancy-dot-reporter
- Enable the extension (see usage).
Manually
- Clone the repository or download and extract the latest release.
- Require the
src/DotReporter.php
file intests/_bootstrap.php
- Enable the extension (see usage).
Usage
To enable the extension specify it with —ext
or add it to the list of enabled extensions in your codeception.yml
.
With —ext
option:
vendor/bin/codeception run --ext "Cloudstek\Codeception\Extension\DotReporter"
With codeception.yml
:
extensions: enabled: - Cloudstek\Codeception\Extension\DotReporter
Configuration options
See the official documentation on how to configure Codeception extensions. See the list below for available options.
columns
Type: integer
Number of columns to use for progress output. Defaults to the width of the output console, which is always the max.
License
See LICENSE