Skip to content

Import Features and Scenarios

Import your existing .feature files into AssertThat from the Features page, through the API, or with Git sync. AssertThat checks each file is valid Gherkin, and that feature and scenario names are unique.

Step 1: Open the Features page and select Upload feature.

Step 2: Drag one or more .feature files into the box, or select Choose a file. Files must be UTF-8 encoded. Each file shows whether it was imported, or what’s wrong with it.

The Upload feature dialog: drag and drop or choose a file, and Overwrite existing

Step 3: If a feature with the same name already exists, the upload fails for that file. Turn on Overwrite existing and upload again to replace it. Scenarios are matched by name, so their run history and links are kept.

Tags on the scenarios are applied as they’re imported:

  • a work item key, such as @WEB-8, links the scenario to that work item;
  • @automated or @manual sets the mode (a scenario’s tag wins over its feature’s).

To import features from a script or pipeline, see REST API for Jira Cloud V1 and Test automation integration. To keep a repository and AssertThat in step automatically, use Git sync.