bradietilley/pest-printer

This package is abandoned and no longer maintained. No replacement package was suggested.

A PestPHP printer

0.2.0 2022-12-20 12:58 UTC

This package is auto-updated.

Last update: 2023-06-16 11:39:14 UTC


README

For Pest 1.x only. Archived and read only now.

A custom printer style for Laravel and PestPHP.

Usage

Register this printer as your project's default phpunit printer, or alternatively enable it on the fly with:

$ artisan test --printer="BradieTilley\Printer"

Example

example-1

example-2

TODO:

  • Fix Gitlab CI not supporting Termwind colours; add toggle to use default cli colours
  • Configuration options (allow devs to customise colours, symbols and spacing rules)
  • Add lang support (add alternative languages, allow users to customise en lang)
  • Add average test time alongside total test time, move time-colouring to average test time (not total).
  • Add introduction box at top of test to describe current filter, stop on failure flag, etc.
  • Add Laravel < 9.41 support