Static BDD Methods signature

Every Static BDD Method has to have the following signature:

public IAssertionResult MethodName()

The return value has to be a standard implementation of the interface IAssertionResult: It can be "AssertionResultSuccessful", "AssertionResultFailed" or "AssertionResultRetry". You have to return one of these objects if, in order, the test is successful, the test is failed, the test needs to be executed again.


In the signature of a Static BDD Method, the parameters are not allowed.


Back to: BDD Components: Static or Dynamic Read next: Dynamic BDD Methods signature


© 2017 Hud Dimension. All Rights Reserved.