bluvertigo
12/6/2017 - 9:51 AM

Integration Tests M2

Come lanciare un test in locale:

docker-compose exec php /var/www/html/vendor/bin/phpunit -c /var/www/html/dev/tests/integration/phpunit.local.xml --testsuite NomeTest

Cancellare il db dell'integration_tests:

docker-compose exec mysql_integration mysql -u root -pmagento -e "drop database integration_tests; create database integration_tests;"
sudo rm -rf magento/dev/tests/integration/tmp/*