cucumber.api.junit
Annotation Type Cucumber.Options


Deprecated. use CucumberOptions instead.

@Retention(value=RUNTIME)
@Target(value=TYPE)
@Deprecated
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
 String dotcucumber
          Deprecated.  
 boolean dryRun
          Deprecated.  
 String[] features
          Deprecated.  
 String[] format
          Deprecated.  
 String[] glue
          Deprecated.  
 boolean monochrome
          Deprecated.  
 String[] name
          Deprecated. Specify a patternfilter for features or scenarios
 SnippetType snippets
          Deprecated.  
 boolean strict
          Deprecated.  
 String[] tags
          Deprecated.  
 

dryRun

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

strict

public abstract boolean strict
Deprecated. 
Returns:
true if strict mode is enabled (fail if there are undefined or pending steps)
Default:
false

features

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

glue

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

tags

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

format

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

monochrome

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

name

public abstract String[] name
Deprecated. 
Specify a patternfilter for features or scenarios

Returns:
a list of patterns
Default:
{}

dotcucumber

public abstract String dotcucumber
Deprecated. 
Default:
""

snippets

public abstract SnippetType snippets
Deprecated. 
Returns:
what format should the snippets use. underscore, camelcase
Default:
cucumber.api.SnippetType.UNDERSCORE


Copyright © 2013. All Rights Reserved.