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:
- 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. - Click on LINK GHERKIN FILE in the header.
- 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.
- Enter the full Path to the file.
- Click on Link.
- The selected Gherkin file is linked to the requirement.
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.