spock.lang
Class Specification

java.lang.Object
  extended by spock.lang.Predef
      extended by spock.lang.Specification

public class Specification
extends Predef

Convenience base class for specifications. Avoids the need to annotate a specification with @Speck and @RunWith, and makes spock.lang.Predef members automatically known to the IDE.

Note: This class is experimental and might be removed in the future.

Author:
Peter Niederwieser

Field Summary
 
Fields inherited from class spock.lang.Predef
_
 
Constructor Summary
Specification()
           
 
Method Summary
 void cleanup()
           
 void cleanupSpeck()
           
 void setup()
           
 void setupSpeck()
           
 
Methods inherited from class spock.lang.Predef
interaction, Mock, Mock, noExceptionThrown, notThrown, old, thrown, thrown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Specification

public Specification()
Method Detail

setup

public void setup()

cleanup

public void cleanup()

setupSpeck

public void setupSpeck()

cleanupSpeck

public void cleanupSpeck()


Copyright © 2009. All Rights Reserved.