Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benholmen/defrag
Disk defrag output for PHPUnit tests
https://github.com/benholmen/defrag
defrag phpunit testing
Last synced: 6 days ago
JSON representation
Disk defrag output for PHPUnit tests
- Host: GitHub
- URL: https://github.com/benholmen/defrag
- Owner: benholmen
- License: mit
- Created: 2023-09-17T03:26:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-08T05:41:32.000Z (6 months ago)
- Last Synced: 2024-12-14T05:06:42.373Z (13 days ago)
- Topics: defrag, phpunit, testing
- Language: PHP
- Homepage:
- Size: 1.49 MB
- Stars: 89
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Defragment your PHPUnit tests
This package generates a satisfying Defrag-style output when running your [PHPUnit test suite](https://phpunit.de).![Sample output](output.gif)
## Inspired by
MS-DOS 6.x included a [defrag utility](https://en.wikipedia.org/wiki/List_of_DOS_commands#DEFRAG) 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](https://img.youtube.com/vi/Nidwz3BzFCM/0.jpg)](https://www.youtube.com/watch?v=Nidwz3BzFCM "Defrag Running in MS-DOS 6.22")## Installation
Install the package via composer:
```bash
composer require benholmen/defrag --dev
```Add the following lines to your `phpunit.xml` file:
```xml
```
## Usage
Run PHPUnit as usual:```bash
vendor/bin/phpunit
```## Testing
Of course, this produces the defrag output you'd expect.
```bash
composer test
```## Contributing
Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.
## Credits
- [Ben Holmen](https://github.com/benholmen)
- [Jess Archer](https://github.com/jessarcher) key intel, assistance, and the fantastic [laravel/prompts](https://github.com/laravel/prompts) package## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.