Method | Description | |
---|---|---|
GetTestFilename ( string format = "{0}" ) : string |
Creates a filename based on test method name
|
|
Given ( System.Action domainEntityCommand = null ) : IGiven |
Specifies the start of the 'Given' section of BDD This can be followed by 'And' and 'When' It must be preceeded by 'As' Example .Given(customer.Login) .Given() //nothing
|
|
GivenWe ( Action |
Specifies the start of the 'Given' section of BDD This can be followed by 'And' and 'When' It must be preceeded by 'As' Example .GivenWe(x => RegisterCustomer(x, customer))
|
|
Perform ( ) : IBase |
Used when you create a method to perform an inner set of behaviours Example behaviour.Perform() .Given(...
|
|
SoThat ( string businessValue, string targetApplicationLayer, object appRunner, |
New behaviour factory method
|
|
Then ( System.Action domainEntityCommand ) : IThen |
Specifies the start of the 'Then' section of BDD This can be followed by 'And' Example .Then(customer.Logout)
|
|
ThenWe ( Action |
Specifies the start of the 'Then' section of BDD This can be followed by 'And' Example .ThenWe(x => CheckAllOrders(x, customer))
|
|
When ( System.Action domainEntityCommand ) : IWhen |
Specifies the start of the 'When' section of BDD This can be followed by 'And' and 'Then' Example .When(customer.Login)
|
|
WhenWe ( Action |
Specifies the start of the 'When' section of BDD This can be followed by 'And' and 'Then' Example .WhenWe(x => CompleteCustomerRegistration(x, customer))
|
Method | Description | |
---|---|---|
AddPrefix ( string reason ) : string | ||
As ( IPersona persona ) : void | ||
Behaviour ( string targetApplicationLayer, object appRunner, |
||
CleanFileName ( string fileName ) : string | ||
CreatePersonaImplementation ( ) : object | ||
Do ( System.Action action ) : void | ||
DoBehaviour ( string behaviour, System.Action domainEntityCommand ) : void | ||
DoBehaviourSet ( string behaviour, Action |
||
GetPersonaImplementedMethod ( System.Action domainEntityCommand ) : |
||
GetPersonaLayerType ( IPersona persona ) : |
||
GetTestMethod ( ) : |
||
GetTestName ( ) : string | ||
Log ( System.Action action ) : void | ||
SetAppRunnerOnPersonaImplementation ( object persona, object appRunner ) : void | ||
SetDomainOnPersonaImplementation ( System.Action domainEntityCommand, object persona ) : void | ||
SetLoggerOnPersonaImplementation ( object persona, |
||
SetVerbOnPersonaImplementation ( object persona, Verb verb ) : void | ||
getInterfaceNameOfMethod ( |
public static GetTestFilename ( string format = "{0}" ) : string | ||
format | string | Specify a string format if required to enrich filename |
return | string |
public Given ( System.Action domainEntityCommand = null ) : IGiven | ||
domainEntityCommand | System.Action | The entitiy interface command method (without executing parenthesis) |
return | IGiven |
public GivenWe ( Action |
||
actionDelegate | Action |
A delegate containing a call to a method that will execute another set of behaviours. Specify 'ISet behaviour' as the first parameter of your method and use behaviour to perform another Given,When,Then |
return | IGiven |
public static SoThat ( string businessValue, string targetApplicationLayer, object appRunner, |
||
businessValue | string | text describing the business value |
targetApplicationLayer | string | project folder name containing target test class implementations |
appRunner | object | your page object model instance or other to operate the application |
loggers | instance of loggers | |
preStepAction | System.Action | |
return |
public Then ( System.Action domainEntityCommand ) : IThen | ||
domainEntityCommand | System.Action | The entitiy interface command method (without executing parenthesis) |
return | IThen |
public ThenWe ( Action |
||
actionDelegate | Action |
A delegate containing a call to a method that will execute another set of behaviours. Specify 'ISet behaviour' as the first parameter of your method and use behaviour to perform another Given,When,Then |
return | IThen |
public When ( System.Action domainEntityCommand ) : IWhen | ||
domainEntityCommand | System.Action | The entitiy interface command method (without executing parenthesis) |
return | IWhen |
public WhenWe ( Action |
||
actionDelegate | Action |
A delegate containing a call to a method that will execute another set of behaviours. Specify 'ISet behaviour' as the first parameter of your method and use behaviour to perform another Given,When,Then |
return | IWhen |