|
specsy-scala_2.7.7 2.0.0 API
|
|
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
protected implicit
def
String_to_NestedSpec(name : java.lang.String) : NestedSpec
def
shareSideEffects : Unit
|
specsy-scala_2.7.7 2.0.0 API
|
|