0 Overview
Goal: replace a custom tests/Application with the standardized Sylius TestApplication so your plugin runs in a shared, reproducible Sylius environment.
What you’ll do:
Add
sylius/test-applicationas a dev dependency and configure paths.Create a minimal
tests/TestApplicationskeleton (config, env, routes).Register bundles, import your plugin’s config, and wire test services.
Update Behat & PHPUnit bootstraps to TestApplication.
Migrate assets, build, run, and test.
Remove the old
tests/Applicationonly after everything passes.
Last updated
Was this helpful?
