testing/cucumber/features/clauses/with_clause.feature in cql-1.3.0 vs testing/cucumber/features/clauses/with_clause.feature in cql-1.4.0

- old
+ new

@@ -41,12 +41,12 @@ * gt (Greater than) * gte (Greater than or equals) Background: A sample Cucumber suite - Given a directory "test_directory" - And a file "test_directory/test_file_1.feature": + Given a repository to query + And the following feature has been modeled in the repository: """ Feature: A test feature @tag_1 @tag_2 Scenario: Test 1 @@ -65,11 +65,11 @@ | value | Examples: Second examples | param | | value | """ - And a file "test_directory/test_file_2.feature": + And the following feature has been modeled in the repository: """ Feature: A feature with lots of scenarios Scenario: 1 * different steps @@ -78,11 +78,11 @@ * different steps Scenario: 3 * different steps """ - And a file "test_directory/test_file_3.feature": + And the following feature has been modeled in the repository: """ Feature: A feature with lots of outlines Scenario Outline: 1 * different steps @@ -100,11 +100,11 @@ * different steps Examples: | param | | value | """ - And a file "test_directory/test_file_4.feature": + And the following feature has been modeled in the repository: """ Feature: A feature with a mix of tests Scenario: 4 * different steps @@ -113,11 +113,10 @@ * different steps Examples: | param | | value | """ - And a repository is made from "test_directory" Scenario: Using 'with' to limit the objects from which to return attributes When the following query is executed: """ @@ -163,13 +162,13 @@ with scenarios => tags('@tag_1','@tag_2') """ Then the following values are returned: | name | | A test feature | + | Test 1 | | A feature with lots of scenarios | | A feature with lots of outlines | | A feature with a mix of tests | - | Test 1 | Scenario: Using the 'with' clause multiple times When the following query is executed: """ select name