You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.. | ||
src/Framework/MockObject | 1 year ago | |
tests | 1 year ago | |
.gitattributes | 1 year ago | |
.gitignore | 1 year ago | |
.php_cs | 1 year ago | |
.travis.yml | 1 year ago | |
CONTRIBUTING.md | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
build.xml | 1 year ago | |
composer.json | 1 year ago | |
phpunit.xml | 1 year ago |
README.md
PHPUnit_MockObject
PHPUnit_MockObject is the default mock object library for PHPUnit.
Requirements
- PHP 5.6 is required but using the latest version of PHP is highly recommended
Installation
You can add this library as a local, per-project dependency to your project using Composer:
composer require phpunit/phpunit-mock-objects
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
composer require --dev phpunit/phpunit-mock-objects