config/features/integer.feature

30 lines
1.6 KiB
Gherkin
Raw Permalink Normal View History

2024-08-09 20:05:53 +00:00
#noinspection CucumberUndefinedStep
Feature: String configuration items
In order to be able to create and retrieve integer configuration items
As a developer
I want to develop code that will make this simple, efficient, and consistent
Scenario Outline: Integer config items
Given an application with a name of "Testing App" and a prefix of "test"
And a version of "1.2.3"
And a "integer" configuration item defines as
| name | commandline_flag | has_file_entry | has_env_var |
| <name> | <flag> | <configfile> | <environment> |
When I call GetConfig
Then the "integer" result should return "<result>"
Examples:
| name | flag | configfile | environment | result |
| integer_xxxd | | false | false | 123 |
| integer_xxcd | | true | false | 234 |
| integer_xexd | | false | true | 345 |
| integer_xecd | | true | true | 345 |
| integer_lxxd | --integer_lxxd | false | false | 456 |
| integer_lxcd | --integer_lxcd | true | false | 456 |
| integer_lexd | --integer_lexd | false | true | 456 |
| integer_lecd | --integer_lecd | true | true | 456 |
| integer_sxxd | -E | false | false | 456 |
| integer_sxcd | -F | true | false | 456 |
| integer_sexd | -G | false | true | 456 |
| integer_secd | -H | true | true | 456 |