Symfony Bundle
Route browser requests through Symfony's test kernel, prepare state with application services, and inspect framework evidence in the same test process.
- Kernel routing Browser requests meet the test kernel
- Controlled state Prepare fixtures through application services
- Framework evidence Inspect the response and profiler when needed
Browser requests meet the test kernel
Requests to configured application hosts are handled inside the PHPUnit process. External requests continue through the browser network.
Kernel and browser lifecycle →$page = $this->visit('/account');
$this->assertResponseIsSuccessful();Prepare fixtures through application services
Create the state a scenario needs through Symfony services, then use the browser only for the user-visible workflow.
Fixtures and mocking →Inspect the response and profiler when needed
Combine browser-visible assertions with the last Symfony response and profiler collectors when the failure crosses the browser and application boundary.
Profiler and debugging →Move from the tour to working code.
Choose the explanation, recipe, or runnable example that matches what you need next.