Gherkin Attachments For Acceptance Criteria - techtalk/SpecLog-Resources GitHub Wiki

You can link Gherkin files to requirements to build a living documentation system.

To link a Gherkin file to a requirement:

  1. Open the requirement's detailed view (double-click on the requirement or click on DETAILS in the card on the workspace).
    The requirement's details are displayed.
  2. Click on LINK GHERKIN FILE in the header.
  3. Choose the source Provider:
  • File System: A file stored on a locally accessible drive.
  • Git repository: A git repository.
  • TFS Sync Provider (TFS.V2): Select this option to synchronise Gherkin files with TFS Version Control using V2 of the synchronisation plugin.
  • TFS Sync Provider (TFS Gherkin Sync): Select this option to synchronise Gherkin files with TFS Version Control using the TFS Version Control Plugin if you are not using V2 of the TFS synchronisation plugin.
  1. Enter the full Path to the file.
  2. Click on Link.
  3. The selected Gherkin file is linked to the requirement.

Saving acceptance criteria as Gherkin file

Copying acceptance criteria as Gherkin to clipboard

Filtering Gherkin files

When viewing a requirement's details, you can also use the search function (Ctrl+F or using the search box in the header) to filter Gherkin files that match your search term. Only Gherkin scenarios containing the search pattern are displayed (and expanded as needed).
Note: Gherkin keywords (e.g. "given") are ignored, when filtering.

Gherkin with filter applied

⚠️ **GitHub.com Fallback** ⚠️