diff --git a/composer.json b/composer.json index 2316f2b..5a759fd 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "behat/behat": "^3.1" }, "require-dev": { - "friends-of-behat/test-context": "^0.2", + "friends-of-behat/test-context": "^0.3", "phpspec/phpspec": "^3.1", "symfony/http-kernel": "^2.8|^3.0", "phpunit/phpunit": "^5.6" diff --git a/features/not_crashing_behat.feature b/features/not_crashing_behat.feature new file mode 100644 index 0000000..98face1 --- /dev/null +++ b/features/not_crashing_behat.feature @@ -0,0 +1,12 @@ +Feature: Not crashing Behat + + Scenario: Not crashing Behat + Given a Behat configuration containing: + """ + default: + extensions: + FriendsOfBehat\CrossContainerExtension: ~ + """ + And a feature file with passing scenario + When I run Behat + Then it should pass