Create a feature file
About this task
Drafts of feature files can be created using any type of text editor or word processor. However, to create a functional feature file, the user must have access to Studio.
Procedure
- In Studio, navigate to the configuration/res/cucumber directory.
- If necessary, create a new sub-directory for the feature file.
- Right-click the appropriate sub-directory and select .
- In the New File dialog box, name the file and click OK. Guidewire opens the blank feature file.
-
On the first line of the file, optionally add a tag.
- The syntax is: @Tag.
- Tags can be used to narrow the scope of test suites. For more information, see Running groups of feature files.
-
Specify the feature name.
- The syntax is: "Feature: Feature Name"
- Provide a description of the feature.
- Provide the feature background.
