Interface OpHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Executes one scenario step and returns its result (or an
OpResult).-
Method Summary
-
Method Details
-
run
Runs the step.- Parameters:
ctx- step context with substituted arguments and the target- Returns:
- the result value checked against the step expectations, may be null
- Throws:
Exception- any error; SDK errors are compared withexpect.error
-