Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 4.0
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Number of attachments :
Description
If we have a story with two scenarios, and one of the scenario with a givenstory, the statistics collector won't report anything at all
result:
the respective story...*.stats file is empty
reason:
writeData() is never invoked, or only after reset
Scenario: A scenario in which the user can run additional stories as pre-requisites GivenStories: path/to/precondition.story Given ... // normal scenario steps Scenario: Another scenario Given ... // normal scenario steps
update: just execute the examples/core project and check the stats -> most of the stories have all counters on "0"
Activity
Roman Schlegel
made changes -
Field | Original Value | New Value |
---|---|---|
Description |
If we have a story with two scenarios, and one of the scenario with a givenstory, the statistics collector won't report anything at all
reason: writeData() is never invoked |
If we have a story with two scenarios, and one of the scenario with a givenstory, the statistics collector won't report anything at all
result: the respective story...*.stats file is empty reason: writeData() is never invoked {code} Scenario: A scenario in which the user can run additional stories as pre-requisites !-- preconditions to scenario GivenStories: path/to/precondition2.story, ... path/to/preconditionN.story Given ... // normal scenario steps Scenario: Another scenario Given ... // normal scenario steps {code} |
Roman Schlegel
made changes -
Description |
If we have a story with two scenarios, and one of the scenario with a givenstory, the statistics collector won't report anything at all
result: the respective story...*.stats file is empty reason: writeData() is never invoked {code} Scenario: A scenario in which the user can run additional stories as pre-requisites !-- preconditions to scenario GivenStories: path/to/precondition2.story, ... path/to/preconditionN.story Given ... // normal scenario steps Scenario: Another scenario Given ... // normal scenario steps {code} |
If we have a story with two scenarios, and one of the scenario with a givenstory, the statistics collector won't report anything at all
result: the respective story...*.stats file is empty reason: writeData() is never invoked {code} Scenario: A scenario in which the user can run additional stories as pre-requisites GivenStories: path/to/precondition.story Given ... // normal scenario steps Scenario: Another scenario Given ... // normal scenario steps {code} |
Roman Schlegel
made changes -
Summary | PostStoryStatisticsCollector | PostStoryStatisticsCollector produces incomplete stats with givenstories |
Roman Schlegel
made changes -
Description |
If we have a story with two scenarios, and one of the scenario with a givenstory, the statistics collector won't report anything at all
result: the respective story...*.stats file is empty reason: writeData() is never invoked {code} Scenario: A scenario in which the user can run additional stories as pre-requisites GivenStories: path/to/precondition.story Given ... // normal scenario steps Scenario: Another scenario Given ... // normal scenario steps {code} |
If we have a story with two scenarios, and one of the scenario with a givenstory, the statistics collector won't report anything at all
result: the respective story...*.stats file is empty reason: writeData() is never invoked, or only after reset {code} Scenario: A scenario in which the user can run additional stories as pre-requisites GivenStories: path/to/precondition.story Given ... // normal scenario steps Scenario: Another scenario Given ... // normal scenario steps {code} |
Roman Schlegel
made changes -
Description |
If we have a story with two scenarios, and one of the scenario with a givenstory, the statistics collector won't report anything at all
result: the respective story...*.stats file is empty reason: writeData() is never invoked, or only after reset {code} Scenario: A scenario in which the user can run additional stories as pre-requisites GivenStories: path/to/precondition.story Given ... // normal scenario steps Scenario: Another scenario Given ... // normal scenario steps {code} |
If we have a story with two scenarios, and one of the scenario with a givenstory, the statistics collector won't report anything at all
result: the respective story...*.stats file is empty reason: writeData() is never invoked, or only after reset {code} Scenario: A scenario in which the user can run additional stories as pre-requisites GivenStories: path/to/precondition.story Given ... // normal scenario steps Scenario: Another scenario Given ... // normal scenario steps {code} *update:* just execute the examples/core project and check the stats -> most of the stories have all counters on "0" |
Roman Schlegel
made changes -
Attachment | examples-core.png [ 65237 ] |