From 3c91f0af7dbcef370d94a9c669fd3f6547a252f1 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Thu, 10 Jan 2019 22:09:17 +0100 Subject: [PATCH] Test: Using context by its service id --- .../using_context_by_its_service_id.feature | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 features/dependency_injection/using_context_by_its_service_id.feature diff --git a/features/dependency_injection/using_context_by_its_service_id.feature b/features/dependency_injection/using_context_by_its_service_id.feature new file mode 100644 index 0000000..c44719f --- /dev/null +++ b/features/dependency_injection/using_context_by_its_service_id.feature @@ -0,0 +1,61 @@ +Feature: Using context by its service ID + + Background: + Given a working Symfony application with SymfonyExtension configured + And a Behat configuration containing: + """ + default: + suites: + default: + contexts: + - behat.context.some_context + """ + And a feature file containing: + """ + Feature: + Scenario: + Then it should pass + """ + And a context file "tests/SomeContext.php" containing: + """ +