Skip to content

Commit

Permalink
fixup! feat: Update test harness (add assertions) #1467
Browse files Browse the repository at this point in the history
Signed-off-by: christian.lutnik <[email protected]>
  • Loading branch information
chrfwow committed Jan 14, 2025
1 parent ff27af0 commit 148da8e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions specification/assets/gherkin/metadata.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ Feature: Metadata
Scenario: Returns metadata
Given a Boolean-flag with key "metadata-flag" and a default value "true"
When the flag was evaluated with details
Then the resolved metadata value "string" with type "String" should be "1.0.2"
And the resolved metadata value "integer" with type "Integer" should be "2"
And the resolved metadata value "double" with type "Double" should be "0.1"
And the resolved metadata value "boolean" with type "Boolean" should be "true"
Then the resolved metadata should contain
| key | metadata_type | value |
| string | String | 1.0.2 |
| integer | Integer | 2 |
| double | Double | 0.1 |
| boolean | Boolean | true |

Scenario Outline: Returns no metadata
Given a <type>-flag with key "<key>" and a default value "<default_value>"
Expand Down

0 comments on commit 148da8e

Please sign in to comment.