We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0cce32 + a0f58ae commit 82577dcCopy full SHA for 82577dc
1 file changed
tests/integration/features/bootstrap/FeatureContext.php
@@ -15,6 +15,7 @@
15
use Behat\Gherkin\Node\TableNode;
16
use Behat\Hook\AfterScenario;
17
use Behat\Hook\BeforeScenario;
18
+use Behat\Hook\BeforeSuite;
19
use Behat\Step\Given;
20
use Behat\Step\Then;
21
use Behat\Step\When;
@@ -208,6 +209,11 @@ public function __construct() {
208
209
}
210
211
212
+ #[BeforeSuite]
213
+ public static function createPHPUnitConfiguration(): void {
214
+ (new \PHPUnit\TextUI\Configuration\Builder())->build([]);
215
+ }
216
+
217
#[BeforeScenario]
218
public function setUp(BeforeScenarioScope $scope): void {
219
self::$currentScenario = $scope->getFeature()->getTitle() . ':' . $scope->getScenario()->getLine() . ' - ' . $scope->getScenario()->getTitle();
0 commit comments