Download the PHP package horat1us/yii2-phpunit without Composer
On this page you can find all versions of the php package horat1us/yii2-phpunit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download horat1us/yii2-phpunit
More information about horat1us/yii2-phpunit
Files in horat1us/yii2-phpunit
Download horat1us/yii2-phpunit
More information about horat1us/yii2-phpunit
Files in horat1us/yii2-phpunit
Vendor horat1us
Package yii2-phpunit
Short Description Yii 2 PHPUnit compatibility layer and enhancements
License MIT
Package yii2-phpunit
Short Description Yii 2 PHPUnit compatibility layer and enhancements
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-phpunit
Yii2 PhpUnit
Yii 2 PHPUnit compatibility layer and enhancements This package includes:
- TestLogger - will display all log messages to console
- TestMailer - will collect all sent mails in memory
- TestCase - base TestCase, extends PHPUnit TestCase.
It will create new
\yii\console\Application
instance before each test and apply Yii2 fixtures. - MigrateFixture - Yii2 fixture that will apply migration. Use case: your package contains migrations and you need to apply it before tests.
Note: this package supposed to support old packages, that depends on it
Usage
-
Install package and horat1us/yii2-phpunit as dev dependencies
-
Configure your PHPUnit and create bootstrap file with alias to config:
- Create your test cases that extend Horat1us\Yii\PHPUnit\TestCase
License
LICENSE
Example
See horat1us/yii2-advanced-package for details.
All versions of yii2-phpunit with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
yiisoft/yii2 Version ^2.0.35
phpunit/phpunit Version ^9
vlucas/phpdotenv Version ^5.0
yiisoft/yii2 Version ^2.0.35
phpunit/phpunit Version ^9
vlucas/phpdotenv Version ^5.0
The package horat1us/yii2-phpunit contains the following files
Loading the files please wait ....