java.lang.Object
net.tangly.spec.bdd.engine.StoryRun
Recall that our custom extension generates BDD reports after executing the tests. Some parts of these reports are pulled from the elements of the “@Story” annotation. We use the
beforeAll callback to store these strings. Later at the end of the execution lifecycle, we retrieve these strings to generate reports. A simple POJO is used for this purpose.
We name this class StoryDetails. The following code snippet demonstrates the process of creating an instance of this class and saves the elements of the annotation
into the
instance.
-
Constructor Details
-
StoryRun
-
-
Method Details
-
name
-
id
-
description
-
storyTags
-
clazz
-
featureName
-
featureId
-
featureDescription
-
featureTags
-
packages
-
addScene
-
scenes
-
findSceneByMethodName
-