Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

AssertThat has the functionality to easily import or export all your feature files for the a project.  The plugin also provides validation on import to check your feature file is correct, ensuring feature and scenario names are unique and that the file is in the correct format.

Features can be imported either through the AssertThat App or through the AssertThat API.

Table of Contents

...

Import a Feature using the AssertThat BDD Plugin

Step 1: Access the AssertThat Feature menu

...

Step 2: Select upload feature where single or multiple feature files can be selected or dragged into the upload box. 

...

Step 3: Choose Features to import or drag and drop the files into the window. Please review the status update to determine if it was completed successfully or if the format of the feature file needs to be reviewed:

...

Download feature files

Features can either be exported individually or you can download all features for the project.

To download all features for the project:

Step 1: Access the AssertThat Feature menu

...

Step 2: Select Download all features from Features Summary screen in AssertThat.  The feature files will be downloaded as a zip file to your default Downloads folder location.  Note that to import the features the .feature file needs to be imported not the zip file.

...

\

To download individual feature files

Step 1: Select the feature file you want to download by clicking on the feature title

...

Step 2: Select Download from the Features screen in AssertThat.  The feature file will be downloaded to your default Downloads folder location. 

...

Step 4: Overwrite Existing

Importing Features into AssertThat either through the App or API’s provides the options to override existing. If the Feature already exists the upload will display an error as detailed below.

...

Select the Overwrite existing to update the version of the Feature in AssertThat with the Upload version.

...

Import a Feature using the AssertThat API

Features can also be imported into AssertThat using the API’s and custom integrations. More details can be found in the below links: