protacon/test-tools-bundle

Testing and static analysis tools bundle for Symfony projects

dev-master 2019-07-06 17:28 UTC

This package is not auto-updated.

Last update: 2024-04-10 08:06:03 UTC


README

MIT licensed Build Status Total Downloads

Testing and static analysis tools bundle for Symfony projects

Table of Contents

Requirements

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

The MIT License (MIT)

Copyright (c) 2019 Protacon