diff --git a/symfony/phpunit-bridge/5.3/.env.test b/symfony/phpunit-bridge/5.3/.env.test new file mode 100644 index 00000000..9e7162f0 --- /dev/null +++ b/symfony/phpunit-bridge/5.3/.env.test @@ -0,0 +1,6 @@ +# define your env variables for the test env here +KERNEL_CLASS='App\Kernel' +APP_SECRET='$ecretf0rt3st' +SYMFONY_DEPRECATIONS_HELPER=999999 +PANTHER_APP_ENV=panther +PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots diff --git a/symfony/phpunit-bridge/5.3/bin/phpunit b/symfony/phpunit-bridge/5.3/bin/phpunit new file mode 100755 index 00000000..0fb80c9a --- /dev/null +++ b/symfony/phpunit-bridge/5.3/bin/phpunit @@ -0,0 +1,16 @@ +#!/usr/bin/env php + + + + + + + + + + + + + + + + + tests + + + + + + src + + + + + + + + + + diff --git a/symfony/phpunit-bridge/5.3/post-install.txt b/symfony/phpunit-bridge/5.3/post-install.txt new file mode 100644 index 00000000..7bb15321 --- /dev/null +++ b/symfony/phpunit-bridge/5.3/post-install.txt @@ -0,0 +1,7 @@ + + How to test? + + + * Write test cases in the tests/ folder + * Use MakerBundle's make:test command as a shortcut! + * Run the tests with php bin/phpunit diff --git a/symfony/phpunit-bridge/5.3/tests/bootstrap.php b/symfony/phpunit-bridge/5.3/tests/bootstrap.php new file mode 100644 index 00000000..469dccee --- /dev/null +++ b/symfony/phpunit-bridge/5.3/tests/bootstrap.php @@ -0,0 +1,11 @@ +bootEnv(dirname(__DIR__).'/.env'); +}