21 lines
922 B
Gherkin
21 lines
922 B
Gherkin
|
#noinspection CucumberUndefinedStep
|
||
|
Feature: String configuration items
|
||
|
In order to be able to create and retrieve application leven config items
|
||
|
As a developer
|
||
|
I want to develop code that will make this simple, efficient, and consistent
|
||
|
|
||
|
Scenario: Check app name and prefix
|
||
|
Given an application with a name of "Testing App" and a prefix of "test"
|
||
|
When I call GetConfig
|
||
|
Then the app name should return "Testing App"
|
||
|
And the app prefix should return "test"
|
||
|
|
||
|
Scenario: Check app version
|
||
|
Given an application with a name of "Testing App" and a prefix of "test"
|
||
|
And a version of "1.2.3"
|
||
|
When I call GetConfig
|
||
|
Then the app version should pass the following constraint: "=1.2.3"
|
||
|
And the app version should pass the following constraint: "~1.2"
|
||
|
And the app version should pass the following constraint: ">1.1"
|
||
|
And the app version should pass the following constraint: "<2.0"
|