com.tngtech.jgiven.annotation
Annotation Type Format


@Documented
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface Format

Allows arguments of step methods to be formatted with an ArgumentFormatter.


Optional Element Summary
 java.lang.String[] args
          Optional arguments for the ArgumentFormatter.
 java.lang.Class<? extends ArgumentFormatter<?>> value
           
 

value

public abstract java.lang.Class<? extends ArgumentFormatter<?>> value
Default:
com.tngtech.jgiven.format.PrintfFormatter.class

args

public abstract java.lang.String[] args
Optional arguments for the ArgumentFormatter.

Default:
{}