friends-of-phpspec / phpspec-expect
Helper that decorates any SUS with a phpspec lazy object wrapper
Installs: 242 640
Dependents: 28
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 34
Open Issues: 0
Requires
- php: >=7.3
- phpspec/phpspec: ^6.0 || ^7.0
Requires (Dev)
- phpunit/phpunit: ^7.0 || ^8.0 || ^9.0
- squizlabs/php_codesniffer: ^3.5
README
phpspec-expect
Install
Install this package as a development dependency in your project:
$ composer require --dev friends-of-phpspec/phpspec-expect
Usage
Inside some example:
expect(file_exists('dummy.txt'))->toBe(true);
Compatibility
Authors
Copyright (c) 2017-2020 BossaConsulting (https://github.com/BossaConsulting/phpspec2-expect).
License
Licensed under MIT License.