Implicit Values
The following values are implicitly available to all feature and meta files at runtime by reference and interpolation.
gwen.feature.file.simpleName
The current feature file name excluding file extension.
gwen.feature.file.simpleName
gwen.feature.file.path
The current feature file path (as provided to Gwen on command line).
gwen.feature.file.path
gwen.eval.status.keyword.upperCased
The current evaluation status in upper case (PENDING
, PASSED
or FAILED
).
gwen.eval.status.keyword.upperCased
PENDING
, PASSED
or FAILED
).gwen.eval.status.keyword.lowerCased
The current evaluation status in lower case (pending
, passed
or failed
).
gwen.eval.status.keyword.lowerCased
pending
, passed
or failed
).gwen.eval.status.isPassed
true
if the current evaluation status is not Failed
, false
otherwise.
gwen.eval.status.isPassed
true
if the current evaluation status is not Failed
, false
otherwise.gwen.eval.status.isFailed
true
if the current evaluation status is Failed
, false
otherwise.
gwen.eval.status.isFailed
true
if the current evaluation status is Failed
, false
otherwise.gwen.eval.status.message
The current evaluation status message if the evaluation status is Failed
, blank otherwise.
gwen.eval.status.message
Failed
, blank otherwise.gwen.eval.status.message.escaped
The current evaluation status message with all new line and special characters escaped (using Java escaping rules). Non blank if the evaluation status is Failed
, blank otherwise.
gwen.eval.status.message.escaped
Failed
, blank otherwise.iteration.index
The current iteration index (starting at 0) inside a ForEach or Until/While loop.
iteration.index
iteration.number
The current iteration number (starting at 1) inside a ForEach or Until/While loop.
iteration.number
data.record.index
The index (starting at 0) of the current record being processed when using a data feed.
data.record.index
data.record.number
The number (starting at 1) of the current record being processed when using a data feed.
data.record.number
record.number
The current record number (starting at 1) being processed in a data table
record.number
record.index
The current record number (starting at 1) being processed in a data table
record.index