Download the PHP package youwe/testing-suite without Composer
On this page you can find all versions of the php package youwe/testing-suite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download youwe/testing-suite
More information about youwe/testing-suite
Files in youwe/testing-suite
Package testing-suite
Short Description Contains Youwe's default testing packages for php.
License MIT
Informations about the package testing-suite
Youwe Testing Suite
Introduction
Youwe Testing Suite is an all-in-one solution for doing static code analysis on composer packages/projects. It does so both locally and in CI/CD. For this, Testing-suite leverages GrumPHP with predefined default configurations per project type.
Features
- Project Type detector
- PHP storm configuration
Supported project types
- Default (
default
) - Laravel (
laravel
) - Magento 1 (
magento1
) - Magento 2 (
magento2
) - Pimcore (
pimcore
)
Included analysis tools
- Git blacklist
- Composer file validation
- JSON Lint
- YamlLint
- PHPCS (Coding Standards)
- PHPMD (Mess Detector)
- PHPStan (Find bugs before they reach production)
- PHPUnit (Execute Unit tests)
- PHP Lint
- ESLint (Find and fix problems in your JavaScript code)
- Enlighten Security Checker
Installation
Testing suite is supposed to be installed as a composer dev
dependency.
Within any project just run the command below to install the package:
If a project-type is detected, standards will be applied (otherwise a wizard will be opened)
Usage
Locally
The testing suite can be run manually through the GrumPHP command.
or for DDev projects
Git commit hook
The testing suite is automatically run at each git commit using a git commit hook.
This git commit hook will automatically detect DDev projects and will run GrumPHP within the DDev container if needed. This behaviour can be disabled:
-
on individual basis via an environment variable:
- on project basis via the
grumphp.yml
configuration file:
After changing your grumphp.yml
, run vendor/bin/grumphp git:init
to update the git commit hook.
CI/CD Integration examples
- Bitbucket Pipelines
- GitHub Actions
Changelog
See the Changelog file for all changes.
All versions of testing-suite with dependencies
composer-plugin-api Version ^1.1 || ^2.0
enlightn/security-checker Version ^1.5 || ^2.0
kint-php/kint Version @stable
php-parallel-lint/php-parallel-lint Version ^1.2
phpro/grumphp-shim Version ^1.13
phpstan/phpstan Version @stable
phpunit/phpunit Version @stable
youwe/coding-standard Version ^3.5.0
youwe/coding-standard-phpstorm Version ^2.3.0
youwe/composer-dependency-installer Version ^1.4.0
youwe/composer-file-installer Version ^1.2.0