https://github.com/owox/phpspecamp
PhpSpec matchers to use with Amp Promises
https://github.com/owox/phpspecamp
amp matchers phpspec promises
Last synced: 2 months ago
JSON representation
PhpSpec matchers to use with Amp Promises
- Host: GitHub
- URL: https://github.com/owox/phpspecamp
- Owner: OWOX
- License: mit
- Created: 2018-11-25T21:18:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-25T22:05:32.000Z (over 6 years ago)
- Last Synced: 2024-11-26T01:39:27.741Z (6 months ago)
- Topics: amp, matchers, phpspec, promises
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [PhpSpec](https://github.com/phpspec/phpspec) matchers to use with [Amp](https://github.com/amphp/amp/) Promises
[](https://travis-ci.com/OWOX/PhpSpecAmp)
[](https://opensource.org/licenses/MIT)## Installation
Install it with:
```bash
composer require owox/phpspec-amp
```Configure PhpSpec:
```yml
extensions:
OWOX\PhpSpec\Amp\Extension: ~
```## Usage
Extension provides following matchers:
- `resolveTo`
- `resolveToAnInstance`
- `failWith`