Adding scenarios to a feature file
Once a feature file exists, you can add scenarios to it by entering them after the Background section.
As you start to type the step text, Studio shows a popup that lists all of the defined step methods. As you enter text, Studio filters the choices in the popup to those that match the entered text. You can use this feature to select defined step methods. This can help promote reusability by making it easier to identify when there is an existing step with the desired functionality.
When you enter a step with no defined step method, Studio highlights the step in yellow. When you mouse over the step, a tooltip appears that starts with "Undefined step reference:".
Step methods are created in step files and require knowledge of Gosu. Business analysts can create feature files without having all of the associated steps defined. However, before the feature can be executed, the associated steps must be defined. For more information, see Creating step methods.
