Skip to content

Tags: nicelocal/phpunit-util

Tags

v3.0.0

Toggle v3.0.0's commit message

Verified

This tag was signed with the committer’s verified signature.
kelunik Niklas Keller
v3.0.0

This package has been redesigned for compatibility with AMPHP v3 and fibers. `AsyncTestCase` serves a similar purpose as before, providing helper methods for unit testing within an async context. Each test case is run within a unique fiber to allow suspending during the test run.

- `AsyncTestCase::setUpAsync()` and `tearDownAsync()` have been removed. Use `AsyncTestCase::setUp()` and `tearDown()` instead, as both of these methods are now able to execute async using fibers.
- `AsyncTestCase::createCallback()` now returns a `Closure`. Additionally, an optional parameter for expected arguments upon invocation have been added (uses `InvocationMocker::with(...)` to set expected arguments).

v3.0.0-beta.4

Toggle v3.0.0-beta.4's commit message

Verified

This tag was signed with the committer’s verified signature.
kelunik Niklas Keller
v3.0.0-beta.4

 - Add compatibility with Revolt v1.x
 - Require PHP 8.1

v3.0.0-beta.3

Toggle v3.0.0-beta.3's commit message

Verified

This tag was signed with the committer’s verified signature.
kelunik Niklas Keller
v3.0.0-beta.3

 - Replace deprecated `Amp\Future\all` with `Amp\Future\await`

v3.0.0-beta.2

Toggle v3.0.0-beta.2's commit message

Verified

This tag was signed with the committer’s verified signature.
kelunik Niklas Keller
v3.0.0-beta.2

 - Add compatibility with `revolt/event-loop` v0.2.x

v1.2.0

Toggle v1.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
kelunik Niklas Keller
v1.2.0

 - Information from [`TracingDriver::dump()`](https://github.com/amphp/amp/releases/tag/v2.3.0) is now included in the failure message on timeouts.

v1.1.0

Toggle v1.1.0's commit message

Verified

This tag was signed with the committer’s verified signature.
kelunik Niklas Keller
v1.1.0

 - Added `AsyncTestCase` as replacement for `TestCase` + `LoopReset`
 - Added compatibility with PHPUnit 7 & 8 if `AsyncTestCase` is used
 - Deprecated `TestCase`
 - Deprecated `LoopReset`

v1.0.0

Toggle v1.0.0's commit message

Verified

This tag was signed with the committer’s verified signature.
kelunik Niklas Keller
Release v1.0.0.