files, and those files contain executable specifications written in a language called Gherkin.
Gherkin is plain-text English (or one of 60 other languages) with a little extra structure.
Let's take an example from feed planning for cattle and sheep: sections, which are a container for a table.
This can be picked up by subsequent Cucumber runs: This is useful while fixing broken scenarios, as only the scenarios that failed in the previous run will be run again.
This can reduce time spent fixing a bug when running all scenarios is time-consuming.
Cucumber can perform different operations before and after each scenario based on what tags are present on a scenario. Gherkin provides lots of places to document your features and scenarios. Capture groups are strings (even when they match digits like ).
For statically typed languages, Cucumber will automatically transform those strings into the appropriate type.
Text, images and even video can be embedded into certain reports via an API that is available in Step Definitions and Hooks. Some reports will ignore embedded data while others will include it.