benholmen/defrag

MS-DOS defrag output for your PHPUnit test suite

Fund package maintenance!
benholmen

0.1.6 2024-02-21 04:44 UTC

README

This package generates a satisfying Defrag-style output when running your PHPUnit test suite.

Sample output

Inspired by

MS-DOS 6.x included a defrag utility that honestly was just so satisfying to watch. The 90s were a different time, folks. Disk defragmentation took about an hour and physically rearranged the data on your hard drive so it was more efficient to read off the disk.

Defrag Running in MS-DOS 6.22

Defrag Running in MS-DOS 6.22

Installation

Install the package via composer:

composer require benholmen/defrag --dev

Add the following lines to your phpunit.xml file:

<extensions>
    <bootstrap class="BenHolmen\Defrag\Extension"/>
</extensions>

Usage

Run PHPUnit as usual:

vendor/bin/phpunit

Testing

Of course, this produces the defrag output you'd expect.

composer test

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.