sergeymakinen/yii2-tests

This package is abandoned and no longer maintained. No replacement package was suggested.

Common Yii 2 extension tests stuff

v2.2.1 2018-02-12 18:19 UTC

This package is auto-updated.

Last update: 2022-12-16 00:57:59 UTC


README

Common Yii 2 extension tests stuff. I use it in my extension tests but you're also free to use. :)

Code Quality Build Status Code Coverage SensioLabsInsight

Packagist Version Total Downloads Software License

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
}