Optimized testing

This commit is contained in:
Kevin Frantz 2018-09-05 09:03:50 +02:00
parent 34dfbaac42
commit 24e2ac8a34
3 changed files with 7 additions and 3 deletions

View File

@ -1,2 +1,2 @@
cp .env.dist docker-symfony/.env
(cd ../docker-symfony/ && docker-compose build && docker-compose up -d)
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose build && docker-compose up -d)

View File

@ -1 +1 @@
(cd ../docker-symfony/ && docker-compose exec php php -d memory_limit=128M /var/www/symfony/vendor/bin/phpunit)
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php -d memory_limit=128M /var/www/symfony/vendor/bin/phpunit)

View File

@ -18,9 +18,13 @@
</php>
<testsuites>
<testsuite name="Project Test Suite">
<testsuite name="Functional Test Suite">
<directory>tests/</directory>
</testsuite>
<testsuite name="Unit Test Suite">
<directory>./src/</directory>
<file>*Test.php</file>
</testsuite>
</testsuites>
<filter>