Scalactic is brought to you by:

object Snapshots extends Snapshots

Companion object that facilitates the importing of Snapshots members as an alternative to mixing it in. One use case is to import Snapshots members so you can use them in the Scala interpreter:

$scala -classpath scalatest.jar
Welcome to Scala version 2.10.3.final (Java HotSpot(TM) Client VM, Java xxxxxx).
Type in expressions to have them evaluated.
Type :help for more information.
 
scala> import org.scalactic.Snapshots._
import org.scalatest.Snapshots._
 
scala> val a = 8
a: Int = 8
 
scala> snap(a)
res0: scala.collection.immutable.Vector[org.scalactic.Snapshot] = Vector(a = 8)

Source
Snapshots.scala
Linear Supertypes
Snapshots, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Snapshots
  2. Snapshots
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. macro def snap(expressions: Any*): SnapshotSeq

    Snap the given expressions.

    Snap the given expressions.

    expressions

    expressions to be snapped

    returns

    an IndexedSeq of Snapshot for the given expressions.

    Definition Classes
    Snapshots