Create a test suite class

Procedure

  1. Create a Gosu class.
    • Guidewire recommends ending the class name with Suite_Ext.
  2. Navigate to the existing PCBehaviorCucumberSuite class. Copy its contents into your new class.
  3. Modify the contents as needed.
    1. Optionally modify the html: portion of the :plugin value to specify a different name or location for the HTML test results report.
    2. Optionally modify the junit: portion of the :plugin value to specify different name or location for the JUnit test results report.
    3. Optionally modify the :features value to specify a different parent directory. By default, the test suite includes all feature files in the parent directory and its subdirectories.
    4. Optionally modify the :tags value to specify one or more tags. This restricts the suite to including only feature files that have all the listed tags. If you include multiple tags, they must be in a comma-delimited list, such as "@tag1","@tag2". The tags can be listed in any order.
    5. Optionally modify the :tags value to exclude one or more tags. This restricts feature files that have the listed tags from the test suite. To indicate a tag must be excluded, prefix it with a tilda. For example, "~@tag3".