protacon / test-tools-bundle
Testing and static analysis tools bundle for Symfony projects
Installs: 181
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 3
Type:symfony-bundle
Requires
- php: ^7.1
- ext-json: *
- bamarni/composer-bin-plugin: ^1.2
- symfony/config: ^4.0
- symfony/console: ^4.0
- symfony/dependency-injection: ^4.0
- symfony/filesystem: ^4.0
- symfony/finder: ^4.0
- symfony/http-kernel: ^4.0
- symfony/process: ^4.0
This package is not auto-updated.
Last update: 2024-11-20 10:59:55 UTC
README
Testing and static analysis tools bundle for Symfony projects
Table of Contents
Requirements
- PHP 7.1 or higher
- Composer
Installation
The recommended way to install this library is with Composer. Composer is a dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into your project.
# Install Composer curl -sS https://getcomposer.org/installer | php
You can add this library as a dependency to your project using following command:
composer require protacon/test-tools-bundle
Usage
Bundle exposes few Symfony commands in the test-tools
namespace you can utilize
./bin/console test-tools:init Initialize test tools
./bin/console test-tools:check Check outdated vendor dependencies
Development
IDE
I highly recommend that you use "proper" IDE to development your application. Below is short list of some popular IDEs that you could use.
If you're using PhpStorm following links will help you to get things rolling.
Testing
Library uses PHPUnit for testing. You can run all tests by following command:
./vendor/bin/phpunit
Or you could easily configure your IDE to run those for you.
Environment
Bundle provides a Dockerfile and docker-compose configuration to develop the bundle in the container with the all tools necessary installed
docker-compose up -d
docker-compose exec app sh
Authors
License
Copyright (c) 2019 Protacon