library phpunit-soft-mocks
Simple running phpunit with soft-mocks
mougrim/phpunit-soft-mocks
Simple running phpunit with soft-mocks
- Thursday, October 5, 2017
- by Mougrim
- Repository
- 1 Watchers
- 1 Stars
- 62 Installations
- PHP
- 2 Dependents
- 0 Suggesters
- 0 Forks
- 1 Open issues
- 5 Versions
- 0 % Grown
PHPUnit soft mocks
PHPUnit-soft-mocks is Badoo soft-mocks wrapper for PhpUnit. The wrapper is \Mougrim\PhpunitSoftMocks\TestCase., (*1)
, (*2)
Installation
You can install PHPUnit-soft-mocks via Composer:, (*3)
- Add to composer.json (for patch phpunit packages):
json
{
"minimum-stability": "beta",
"prefer-stable": true,
"extra": {
"enable-patching": true
}
}
- Run:
bash
composer require --dev mougrim/phpunit-soft-mocks
mkdir /tmp/mocks/ # create dir with soft-mocks cache
Using
For using soft-mocks wrapper you can extend \Mougrim\PhpunitSoftMocks\TestCase class, see example., (*4)
dev-updateSoftMocks
dev-updateSoftMocks
Simple running phpunit with soft-mocks
Sources
Download
MIT
The Requires
The Development Requires
by
Mougrim
phpunit
soft-mocks
dev-master
9999999-dev
Simple running phpunit with soft-mocks
Sources
Download
MIT
The Requires
The Development Requires
by
Mougrim
phpunit
soft-mocks
dev-useNotDeprecatedClass
dev-useNotDeprecatedClass
Simple running phpunit with soft-mocks
Sources
Download
MIT
The Requires
The Development Requires
by
Mougrim
phpunit
soft-mocks
1.0.0-beta1
1.0.0.0-beta1
Simple running phpunit with soft-mocks
Sources
Download
MIT
The Requires
The Development Requires
by
Mougrim
phpunit
soft-mocks
dev-phpunit4.x
dev-phpunit4.x
Simple running phpunit with soft-mocks
Sources
Download
MIT
The Requires
The Development Requires
by
Mougrim
phpunit
soft-mocks