We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c112c8f commit b53b0a2Copy full SHA for b53b0a2
DOCUMENTATION.md
@@ -413,3 +413,18 @@ default:
413
414
It allows you to force enabling or disabling debug mode. If it is not set, it uses `APP_DEBUG` environment variable
415
if defined or falls back to `true`.
416
+
417
+## Enable the kernel environment **test**
418
419
+To configure the environment used by the kernel (`APP_ENV`) while running scenarios, configure the extension:
420
421
+```yaml
422
+# behat.yaml.dist / behat.yaml
423
424
+default:
425
+ extensions:
426
+ FriendsOfBehat\SymfonyExtension:
427
+ kernel:
428
+ environment: test
429
+ bootstrap: tests/bootstrap.php
430
+```
0 commit comments