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-application as a dev dependency and configure paths.
Create a minimal tests/TestApplication skeleton (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/Application only after everything passes.