Hi,
I am looking to use Gherkin/Cucumber to check is servers that are provided to me meet predefined settings before I accept them to work on.
For example one test I want to do is check if the server has a supported OS from a list of versions that I support. Looking at it normally this would be a scenario with a table of options, but as far as I could tell that would then run a test for each scenario which would see at best all bar one fail whereas If one combination passes then the test is a pass as you can not have all the supported OS's on the same server.
My issue is I am unsure how to define this as a test. So far I have:
Feature:
Scenario: Check Supported OS
Given a file named "/etc/redhat-release" exists
When I read the contents
Then I see one of "CentOS 6.5|CentOS 6.6|Redhat 6.5|Redhat 6.6"
Thanks
Mark
p.s sorry if this issue appear twice but it looks like my first attempt did not appear.