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.
|
|
2 years ago | |
|---|---|---|
| .. | ||
| src/Framework/MockObject | 2 years ago | |
| tests | 2 years ago | |
| .gitattributes | 2 years ago | |
| .gitignore | 2 years ago | |
| .php_cs | 2 years ago | |
| .travis.yml | 2 years ago | |
| CONTRIBUTING.md | 2 years ago | |
| LICENSE | 2 years ago | |
| README.md | 2 years ago | |
| build.xml | 2 years ago | |
| composer.json | 2 years ago | |
| phpunit.xml | 2 years 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