How to use the Specflow Scripts keyword?

In my properties file, IntelliSense says there is a keyword called Scenarios . Please note that this is the plural. I posted the documentation and can not find any links to it. Can someone explain what it is intended for and how it can be used?

+7
source share
1 answer

It is a synonym for the word examples used for different scenarios, using the construction of a scenario plan ... Or in plain English; if you use a script scheme, you can list various examples under the keyword "Examples" or under the keyword "Scripts".

Here is an example:

 Scenario Outline: eating Given there are <start> cucumbers When I eat <eat> cucumbers Then I should have <left> cucumbers Scenarios: | start | eat | left | | 12 | 5 | 7 | | 20 | 5 | 15 | 

I did not know this before, but it is easy to notice by looking at the language file. Here you will find all words in all supported languages.

+16
source

All Articles