PHPackages                             sergeymakinen/yii2-tests - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. sergeymakinen/yii2-tests

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

sergeymakinen/yii2-tests
========================

Common Yii 2 extension tests stuff

v2.2.1(8y ago)011.9k1MITPHP

Since Dec 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sergeymakinen/yii2-tests)[ Packagist](https://packagist.org/packages/sergeymakinen/yii2-tests)[ Docs](https://github.com/sergeymakinen/yii2-tests)[ RSS](/packages/sergeymakinen-yii2-tests/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (2)Versions (10)Used By (1)

Yii 2 tests stuff
=================

[](#yii-2-tests-stuff)

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

[![Code Quality](https://camo.githubusercontent.com/2f01429501a26ccd71b28cc09a6e44ad3be6b367fe62ae5c5b7405f00706859e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7365726765796d616b696e656e2f796969322d74657374732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sergeymakinen/yii2-tests) [![Build Status](https://camo.githubusercontent.com/82163fe5efc1c9d136f9122ccdbc4251d171202db9e95b96afae1c94ee560507/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7365726765796d616b696e656e2f796969322d74657374732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/sergeymakinen/yii2-tests) [![Code Coverage](https://camo.githubusercontent.com/257b8b30252d312d00a68d3c0fd6ec9b7daf76540f105d378b1776ac3c719900/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f7365726765796d616b696e656e2f796969322d74657374732e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/sergeymakinen/yii2-tests) [![SensioLabsInsight](https://camo.githubusercontent.com/c5f90ceadd23b9d5a9ef23eb0a6e5ab8f6bc542e6d7257f242fabf6c0cef6fce/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f34303661333338382d386536632d343937392d613934332d6231616431623861656564342e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/406a3388-8e6c-4979-a943-b1ad1b8aeed4)

[![Packagist Version](https://camo.githubusercontent.com/c8818e48e0db4c68dd92c4b76a258b3d840c895d4b431addbf4583ef192c3614/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7365726765796d616b696e656e2f796969322d74657374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sergeymakinen/yii2-tests) [![Total Downloads](https://camo.githubusercontent.com/ba43074683cee51b5dd59a25cfd0d6ac54a624fafc5780b5ac47d3f2e0626264/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7365726765796d616b696e656e2f796969322d74657374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sergeymakinen/yii2-tests) [![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

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
-----

[](#usage)

```
class MyClassTest extends \sergeymakinen\yii\tests\TestCase
{
    // Use protected methods defined in the TestCase class
}
```

###  Health Score

33

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 96.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~54 days

Recently: every ~100 days

Total

9

Last Release

2959d ago

Major Versions

v1.1.0 → v2.0.02017-01-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/362b43cdb5f7eb9e46a3e650b533e83cf2e6492ff705693f60b646b66c0cf8a7?d=identicon)[sergeymakinen](/maintainers/sergeymakinen)

---

Top Contributors

[![sergeymakinen](https://avatars.githubusercontent.com/u/983964?v=4)](https://github.com/sergeymakinen "sergeymakinen (29 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

phpphp-libraryphpunittesttestsunit-testingunittestyii2yii2-extensiontesttestsyii2yiiyii2-tests

### Embed Badge

![Health badge](/badges/sergeymakinen-yii2-tests/health.svg)

```
[![Health](https://phpackages.com/badges/sergeymakinen-yii2-tests/health.svg)](https://phpackages.com/packages/sergeymakinen-yii2-tests)
```

###  Alternatives

[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

583.5M31](/packages/dvdoug-behat-code-coverage)[friends-of-phpspec/phpspec-code-coverage

Generate Code Coverage reports for PhpSpec tests

202.5M109](/packages/friends-of-phpspec-phpspec-code-coverage)[leanphp/behat-code-coverage

Generate Code Coverage reports for Behat tests

50359.4k2](/packages/leanphp-behat-code-coverage)[hot/phpunit-runner

The lib allows to watch phpunit tests

2966.7k4](/packages/hot-phpunit-runner)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
