cucumber.junit
Annotation Type Cucumber.Options


@Retention(value=RUNTIME)
@Target(value=TYPE)
public static @interface Cucumber.Options

This annotation can be used to give additional hints to the Cucumber runner about what to run. It provides similar options to the Cucumber command line used by Main


Optional Element Summary
 boolean dryRun
           
 String[] features
           
 String[] format
           
 String[] glue
           
 boolean monochrome
           
 String[] tags
           
 

dryRun

public abstract boolean dryRun
Returns:
true if this is a dry run
Default:
false

features

public abstract String[] features
Returns:
the paths to the feature(s)
Default:
{}

glue

public abstract String[] glue
Returns:
where to look for glue code (stepdefs and hooks)
Default:
{}

tags

public abstract String[] tags
Returns:
what tags in the feature should be executed
Default:
{}

format

public abstract String[] format
Returns:
what formatter(s) to use
Default:
{}

monochrome

public abstract boolean monochrome
Returns:
whether or not to use monochrome output
Default:
false


Copyright © 2012. All Rights Reserved.