yiisoft / yii-testing
yii-testing
Fund package maintenance!
Opencollective
yiisoft
Installs: 28 741
Dependents: 6
Suggesters: 0
Security: 0
Stars: 4
Watchers: 14
Forks: 1
Open Issues: 2
Requires
- php: ^8.0
- phpunit/phpunit: ^9.5
- psr/container: ^2.0
- psr/http-message: ^1.0
- yiisoft/config: ^1.1
- yiisoft/di: ^1.1
- yiisoft/error-handler: ^3.0
- yiisoft/yii-http: ^1.0
- yiisoft/yii-runner: ^2.0
- yiisoft/yii-runner-console: ^2.0
- yiisoft/yii-runner-http: ^2.0
Requires (Dev)
- maglnet/composer-require-checker: ^4.2
- nyholm/psr7: ^1.5
- rector/rector: ^0.15.2
- roave/infection-static-analysis-plugin: ^1.16
- spatie/phpunit-watcher: ^1.23
- vimeo/psalm: ^4.30|^5.6
This package is auto-updated.
Last update: 2023-11-11 16:23:55 UTC
README
Yii Testing
The package ...
Requirements
- PHP 8.0 or higher.
Installation
The package could be installed with composer:
composer require yiisoft/yii-testing --prefer-dist
General usage
Testing
Unit testing
The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunit
Mutation testing
The package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:
./vendor/bin/roave-infection-static-analysis-plugin
Static analysis
The code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalm
License
The Yii Testing is free software. It is released under the terms of the BSD License.
Please see LICENSE
for more information.
Maintained by Yii Software.