3.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:

  1. Add sylius/test-application as a dev dependency and configure paths.

  2. Create a minimal tests/TestApplication skeleton (config, env, routes).

  3. Register bundles, import your plugin’s config, and wire test services.

  4. Update Behat & PHPUnit bootstraps to TestApplication.

  5. Migrate assets, build, run, and test.

  6. Remove the old tests/Application only after everything passes.

Last updated

Was this helpful?