tagion.behaviour.BehaviourFeature

Handles all BDD information concerning the Feature Comments, description, function-names, scenarios and actions

Members

Aliases

ActionProperties
alias ActionProperties = AliasSeq!(Given, When, Then, But)

All action-properties of a Scenario

MandatoryActionProperties
alias MandatoryActionProperties = Erase!(When, Erase!(But, ActionProperties))

All mandatory actions of a Scenario (Given, Then)

Enums

hasProperty
eponymoustemplate hasProperty(alias T, Property)
isActionGroup
eponymoustemplate isActionGroup(alias I)
isInfo
eponymoustemplate isInfo(alias I)
isScenario
eponymoustemplate isScenario(T)

Manifest constants

feature_name
enum feature_name;

Default enum name of an Feature module

Structs

ActionGroup
struct ActionGroup(Property)

The Action group contains a list of acrion with the property defined which is a part of the behaviour property

But
struct But

Action property for But

FeatureGroup
struct FeatureGroup

Contains all the scenario groups and information of the Feature

Given
struct Given

Action property for Given

Info
struct Info(alias Property)
Undocumented in source.
ScenarioGroup
struct ScenarioGroup

Contains all information of a scenario the class name of the scenario and the description it also contains all the action groups of the scenario

Then
struct Then

Action property for Then

When
struct When

Action property for When

Templates

Scenarios
template Scenarios(alias M)
_Scenarios
template _Scenarios(alias M, string[] names)

Helper template for Scenarios

getActions
template getActions(T, Property)

This template get the action with the behaviour-Property from a Behaviour object

getAllActions
template getAllActions(T)
getAllCallables
template getAllCallables(T)
getMethod
template getMethod(alias T, string name)
getProperty
template getProperty(alias T)

Get the action property of the alias T

getScenario
template getScenario(T)
hasActions
template hasActions(alias T)
isFeature
template isFeature(alias M)

* Params: * M = the module

obtainFeature
template obtainFeature(alias M)