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

  1. In Studio, navigate to the configuration/res/cucumber directory.
  2. If necessary, create a new sub-directory for the feature file.
  3. Right-click the appropriate sub-directory and select New > File.
  4. In the New File dialog box, name the file and click OK. Guidewire opens the blank feature file.
  5. On the first line of the file, optionally add a tag.
  6. Specify the feature name.
    • The syntax is: "Feature: Feature Name"
  7. Provide a description of the feature.
  8. Provide the feature background.