Skip to main content

Feature Files

Cycle test scripts are stored in source files (called Feature Files) with a “.feature” extension. Every Feature File starts with a description, which provides an overview of the Scenarios in the file. This description begins with the keyword “Feature:”.

Feature Files are the highest-level grouping of test Scenarios and are used to group related Scenarios together.

Feature Example

Feature Files have a single Feature defined in them, but can have as many Scenarios as needed. Cycle provides syntax highlighting to help users differentiate between Cycle Keywords and other important parts of the Feature File.

Some examples of Cycle’s currently defined keywords are: Feature, Background, Scenario, Scenario Outline, Examples, Given, And, When, Then, Once, If, EndIf, Else, ElsIf, While, and EndWhile.