cuke4duke
Class GroovyDsl

java.lang.Object
  extended by cuke4duke.GroovyDsl

public class GroovyDsl
extends Object

The DSL for Groovy step definitions.


Field Summary
static cuke4duke.internal.groovy.GroovyLanguage groovyLanguage
           
static cuke4duke.internal.language.LanguageMixin languageMixin
           
 
Constructor Summary
GroovyDsl()
           
 
Method Summary
static void After(Object... tagsAndBody)
           
static void Before(Object... tagsAndBody)
           
static void Given(Pattern regexp, groovy.lang.Closure body)
           
static void Then(Pattern regexp, groovy.lang.Closure body)
           
static void When(Pattern regexp, groovy.lang.Closure body)
           
static void World(groovy.lang.Closure body)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groovyLanguage

public static cuke4duke.internal.groovy.GroovyLanguage groovyLanguage

languageMixin

public static cuke4duke.internal.language.LanguageMixin languageMixin
Constructor Detail

GroovyDsl

public GroovyDsl()
Method Detail

World

public static void World(groovy.lang.Closure body)

Before

public static void Before(Object... tagsAndBody)

After

public static void After(Object... tagsAndBody)

Given

public static void Given(Pattern regexp,
                         groovy.lang.Closure body)
                  throws Throwable
Throws:
Throwable

When

public static void When(Pattern regexp,
                        groovy.lang.Closure body)
                 throws Throwable
Throws:
Throwable

Then

public static void Then(Pattern regexp,
                        groovy.lang.Closure body)
                 throws Throwable
Throws:
Throwable


Copyright © 2010. All Rights Reserved.