benholmen/defrag

MS-DOS defrag output for your PHPUnit test suite
1,476 93
Install
composer require benholmen/defrag
Latest Version:0.1.6
PHP:^8.1
Laravel:10 · 11
License:MIT
Last Updated:Jul 8, 2024
Links: GitHub  ·  Packagist
Maintainer: benholmen

Defragment your PHPUnit tests

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.

Related Packages

albertcht/lumen-testing

Testing Suite For Lumen like Laravel does.

36,092 43
socialengine/setup-test-db

Get efficient with seeding your database for tests in Laravel

14,055 9
unicorn/lumen-testing

Testing Suite For Lumen like Laravel does.

2,201 0

Version History

Version Released PHP Laravel License
0.1.6 ^8.1 ^10.0|^11.0 MIT
0.1.5 ^8.1 ^10.0|^11.0 MIT
0.1.4 ^8.1 MIT
0.1.3 ^8.1 MIT
0.1.2 ^8.1 MIT