sergeymakinen / yii2-tests
Common Yii 2 extension tests stuff
Installs: 11 355
Dependents: 10
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- sergeymakinen/tests: ^1.3.1
- yiisoft/yii2: ~2.0.13
README
Common Yii 2 extension tests stuff. I use it in my extension tests but you're also free to use. :)
Installation
The preferred way to install this extension is through composer.
Either run
composer require --dev "sergeymakinen/yii2-tests:^2.0"
or add
"sergeymakinen/yii2-tests": "^2.0"
to the require-dev section of your composer.json
file.
Usage
class MyClassTest extends \sergeymakinen\yii\tests\TestCase { // Use protected methods defined in the TestCase class }