org.specsy.scala

trait ScalaSpecsy

[source: org/specsy/scala/ScalaSpecsy.scala]

trait ScalaSpecsy
extends AnyRef
Method Summary
protected implicit def String_to_NestedSpec (name : java.lang.String) : NestedSpec
def defer (block : => Unit) : Unit
Defers the execution of a piece of code until the end of the current spec. All deferred closures will be executed in LIFO order when the current spec exits.
def shareSideEffects : Unit
Makes all child specs of the current spec able to see each other's side-effects.
def spec (name : java.lang.String)(spec : => Unit) : Unit
Declares a child spec.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
protected class NestedSpec (name : java.lang.String) extends AnyRef
Method Details
def spec(name : java.lang.String)(spec : => Unit) : Unit
Declares a child spec.

protected implicit def String_to_NestedSpec(name : java.lang.String) : NestedSpec

def defer(block : => Unit) : Unit
Defers the execution of a piece of code until the end of the current spec. All deferred closures will be executed in LIFO order when the current spec exits.

def shareSideEffects : Unit
Makes all child specs of the current spec able to see each other's side-effects.


Copyright (c) 2010-2012. All Rights Reserved.