We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 408bd4b commit 436204aCopy full SHA for 436204a
1 file changed
features/importing_files.feature
@@ -71,3 +71,26 @@ Feature: Importing files
71
"""
72
When I run Behat
73
Then it should pass
74
+
75
+ Scenario: Importing a service from a PHP file
76
+ Given a Behat configuration containing:
77
+ """
78
+ default:
79
+ suites:
80
81
+ contexts:
82
+ - FeatureContext:
83
+ - "%foobar%"
84
+ extensions:
85
+ FriendsOfBehat\ServiceContainerExtension:
86
+ imports:
87
+ - features/bootstrap/config/services.php
88
89
+ And a config file "features/bootstrap/config/services.php" containing:
90
91
+ <?php
92
93
+ $container->setParameter('foobar', 'shit happens');
94
95
+ When I run Behat
96
+ Then it should pass
0 commit comments