codeception/codeception-progress-reporter

A Codeception extension that replaces the default test output with a live terminal progress bar showing success/error/fail counts, timing and memory usage.

Maintainers

Package info

github.com/fr05t1k/codeception-progress-reporter

pkg:composer/codeception/codeception-progress-reporter

Transparency log

Statistics

Installs: 151 111

Dependents: 8

Suggesters: 0

Stars: 29

Open Issues: 0


README

CI Latest Stable Version Total Downloads PHP Version Require License

A Codeception extension that replaces the default test output with a single, live terminal progress bar. It shows the current suite and test, running counts of successes/errors/fails, elapsed and estimated time, and memory usage — handy for large suites where the default output scrolls off the screen.

preview

Features

  • Live progress bar with success / error / fail counters.
  • Current suite and test name displayed as the run advances.
  • Elapsed vs. estimated time and peak memory usage.
  • Failures are still printed in full at the end of the run.
  • Automatically disables itself when running with --steps or --debug.

Requirements

Package version PHP Codeception
^5.0 >= 8.1 ^5.0
^4.0 >= 5.6 >= 2.3

Installation

composer require --dev codeception/codeception-progress-reporter

Usage

Enable it globally in your codeception.yml:

extensions:
    enabled:
        - Codeception\ProgressReporter\ProgressReporter

Or enable it for a single run:

codecept run --ext "Codeception\\ProgressReporter\\ProgressReporter"

Contributing

Issues and pull requests are welcome. Please make sure the test suite and static analysis pass before opening a PR:

composer install
vendor/bin/codecept run
vendor/bin/phpstan analyse

License

Released under the MIT License.