redhotmagma / symfony-test-utils
Library containing utilities for unit/funcional testing of symfony applications.
v5
2020-04-28 09:44 UTC
Requires
- php: >=7.1
- ext-json: ^1.6
- symfony/filesystem: ^3.4|^4|^5
Requires (Dev)
- phake/phake: ^3.1
- phpmd/phpmd: ^2.6
- phpunit/phpunit: ^7
- squizlabs/php_codesniffer: ^3.3
- symfony/browser-kit: ^5.0
- symfony/framework-bundle: ^5.0
- symfony/phpunit-bridge: ^4.1
Conflicts
- phpunit/phpunit: <7
- symfony/symfony: <3.4.0
README
Bundle that consists of generic helper classes to aid unit and functional testing Symfony applications. Note that this bundle should be self contained, meaning that it should not have dependencies to other internal projects.
Topics
Setup for development
- Copy
.env.dist
to.env
- Start a container
bin/start.sh
- Get inside the container
bin/exec.sh bash
or run the commands from outsidebin/exec.sh vendor/bin/phpunit
- Stop the container
bin/stop.sh
Installation
Install it via composer.
composer require --dev redhotmagma/redhotmagma/symfony-test-utils dev-master