Skip to main content

Implicit Attributes

The following attributes are implicitly available to all feature and meta files at runtime by reference or interpolation.

gwen.feature.file.name

The current feature file name.

gwen.feature.file.path

The current feature file path (as provided to Gwen on command line).

gwen.feature.file.absolutePath

The current absolute feature file path.

gwen.feature.name

The current feature name (as specified in Feature clause).

gwen.scenario.name

The current scenario name (as specified in Scenario clause).

gwen.rule.name

The current rule name (as specified in Rule clause).

gwen.eval.status.keyword

The current evaluation status (Pending, Failed or Sustained.

gwen.eval.status.message

The current evaluation status message if the evaluation status is Failed or Sustained, blank otherwise.

See also