SkillAgentSearch skills...

Defrag

Disk defrag output for PHPUnit tests

Install / Use

/learn @benholmen/Defrag
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars93
CategoryDevelopment
Updated1mo ago
Forks0

Languages

PHP

Security Score

100/100

Audited on Feb 15, 2026

No findings