Skip to content

friends-of-phpspec/phpspec-expect

 
 

Repository files navigation

Latest Stable Version Total Downloads Continuous Integration License

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

phpspec-expect PHP phpspec
2.x >=5.6 ^3.0
3.0.x >=7.0 ^4.0
3.1.x ^7.1 ^5.0 || ^6.0
4.x >=7.3 ^6.0 || ^7.0

Authors

Copyright (c) 2017-2020 BossaConsulting (https://github.com/BossaConsulting/phpspec2-expect).

License

Licensed under MIT License.