com.tngtech.jgiven
Interface CurrentStep


public interface CurrentStep

This interface can be injected into a stage by using the ScenarioState annotation. It provides programmatic access to the current executed step.

Since:
0.7.0

Method Summary
 void addAttachment(Attachment attachment)
          Adds an attachment to the current step
 void setExtendedDescription(java.lang.String extendedDescription)
          Set the extended description of the current step
 

Method Detail

addAttachment

void addAttachment(Attachment attachment)
Adds an attachment to the current step

Parameters:
attachment - an attachment to add

setExtendedDescription

void setExtendedDescription(java.lang.String extendedDescription)
Set the extended description of the current step

Parameters:
extendedDescription - the extended description
See Also:
ExtendedDescription