PHPackages                             amphp/phpunit-util - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. amphp/phpunit-util

ActiveLibrary[Testing &amp; Quality](/categories/testing)

amphp/phpunit-util
==================

Helper package to ease testing with PHPUnit.

v3.0.0(3y ago)22769.1k↑16.9%8[1 issues](https://github.com/amphp/phpunit-util/issues)[1 PRs](https://github.com/amphp/phpunit-util/pulls)20MITPHPPHP &gt;=8.1CI failing

Since Jun 15Pushed 1y ago6 watchersCompare

[ Source](https://github.com/amphp/phpunit-util)[ Packagist](https://packagist.org/packages/amphp/phpunit-util)[ Docs](https://amphp.org/phpunit-util)[ GitHub Sponsors](https://github.com/amphp)[ RSS](/packages/amphp-phpunit-util/feed)WikiDiscussions 3.x Synced 1w ago

READMEChangelog (10)Dependencies (4)Versions (19)Used By (20)

amphp/phpunit-util
==================

[](#amphpphpunit-util)

AMPHP is a collection of event-driven libraries for PHP designed with fibers and concurrency in mind. `amphp/phpunit-util` is a small helper package to ease testing with PHPUnit.

[![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)

Installation
------------

[](#installation)

This package can be installed as a [Composer](https://getcomposer.org/) dependency.

```
composer require --dev amphp/phpunit-util
```

The package requires PHP 8.1 or later.

Usage
-----

[](#usage)

```
