Gherkin stats plugin - techtalk/SpecLog-Resources GitHub Wiki
The SpecLog server can store Gherkin test execution statistics from any source. The SpecRun plugin included with SpecLog collects execution statistics generated by SpecFlow+ Runner. Execution statistics generated by SpecFlow+ are handled by the SpecFlow+ Runner Server, and the SpecLog client can display these statistics. Before you can display these statistics in SpecLog, you first need to set up the SpecFlow+ Runner Server.
Each client polls the server individually using the SpecLog.ServerGherkinStats
plugin, which
is turned on by default. The statistics are also stored in the local repository file.
To configure the Gherkin statistics plugin to collect execution statistics:
- Select Repository settings from the main menu to open the following dialog:
- Click on Configure next to Gherkin stats plugins to display a list of installed client-side plugins.
- Select Configure from the
SpecLog.ServerGherkinStats
plugin's menu to configure the plugin: - Check that the plugin is enabled and enter the polling interval:
Gherkin statistics are displayed in SpecLog when hovering your mouse cursor over the Gherkin attachment icon on a card on the workspace (provided the requirement is linked to a Gherkin scenario and execution statistics can be retrieved).
When viewing the details of a requirement linked to Gherkin execution statistics, the execution state of each feature file according to SpecRun's execution statistics is displayed:
You can search for requirements by test run status in the requirements tool widget using the following syntax:
- test:AllPassing
- test:FewFailing
- test:ManyFailing
- test:AllFailing
- test:NoInformation