Class Scene
java.lang.Object
net.tangly.spec.bdd.Scene
A scene is central to BDD or specification by example style of writing tests. It describes a use case in a story or specification and holds all the
information required to execute a specific scenario. The Scene class enables test writers to define scenarios (behaviors) using steps like "given",
"then", and "when" that are written as lambda expressions. The Scene class is the central unit of our custom extension that holds test method
specific state information. The state information can be passed around between the various steps of a scenario. We use the “BeforeEachCallback”
interface to prepare a Scene instance right before the invocation of a test method.
-
Constructor Details
-
Scene
-
-
Method Details
-
put
-
get
-
methodName
-
description
-
given
-
when
-
then
-
and
-
run
-
given
-
when
-
then
-