Test Application
Why This Change?
Key Benefits
How to Set It Up
composer require --dev sylius/test-application:^2.0.0@alphamkdir -p tests/TestApplication/config # Add your services.yaml and routes.yamlDATABASE_URL=mysql://[email protected]/test_application_%kernel.environment% SYLIUS_TEST_APP_CONFIGS_TO_IMPORT="@YourPlugin/config/config.yaml" SYLIUS_TEST_APP_ROUTES_TO_IMPORT="@YourPlugin/config/routes.yaml" SYLIUS_TEST_APP_BUNDLES_PATH="tests/TestApplication/config/bundles.php" # Optionally, replace the default bundles entirely SYLIUS_TEST_APP_BUNDLES_REPLACE_PATH="tests/TestApplication/config/bundles.php" # Optionally, use a semicolon-separated list to add needed bundles SYLIUS_TEST_APP_BUNDLES_TO_ENABLE="Your\Bundle\Namespace"<?php return [ Some\Dependency\Bundle::class => ['all' => true], Your\Bundle\Namespace\Plugin::class => ['all' => true], ];
Next: What Do You Want to Do?
Last updated
Was this helpful?
