Skip to content

Repository files navigation

Codeception Progress Reporter

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.

About

Reporter for codeception with a progress bar

Resources

Stars

29 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages