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
 String[] args
          Optional arguments for the ArgumentFormatter.
 Class<? extends ArgumentFormatter<?>> value
           
 

value

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

args

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

Default:
{}


Copyright © 2014 TNG Technology Consulting. All rights reserved.