Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package scalatest

    ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

    ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

    Definition Classes
    org
  • trait FreeSpecLike extends TestSuite with TestRegistration with Informing with Notifying with Alerting with Documenting

    Implementation trait for class FreeSpec, which facilitates a “behavior-driven” style of development (BDD), in which tests are nested inside text clauses denoted with the dash operator (-).

    Implementation trait for class FreeSpec, which facilitates a “behavior-driven” style of development (BDD), in which tests are nested inside text clauses denoted with the dash operator (-).

    FreeSpec is a class, not a trait, to minimize compile time given there is a slight compiler overhead to mixing in traits compared to extending classes. If you need to mix the behavior of FreeSpec into some other class, you can use this trait instead, because class FreeSpec does nothing more than extend this trait and add a nice toString implementation.

    See the documentation of the class for a detailed overview of FreeSpec.

    Definition Classes
    scalatest
  • AssertionsHelper
  • CheckingEqualizer
  • Equalizer
  • FreeSpecStringWrapper
  • NoArgTest
  • ResultOfTaggedAsInvocationOnString
c

org.scalatest.FreeSpecLike

ResultOfTaggedAsInvocationOnString

final class ResultOfTaggedAsInvocationOnString extends AnyRef

Class that supports the registration of tagged tests.

Instances of this class are returned by the taggedAs method of class FreeSpecStringWrapper.

Attributes
protected
Source
FreeSpecLike.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResultOfTaggedAsInvocationOnString
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResultOfTaggedAsInvocationOnString(specText: String, tags: List[Tag], pos: Position)

Value Members

  1. def ignore(testFun: ⇒ Any): Unit

    Supports registration of tagged, ignored tests.

    Supports registration of tagged, ignored tests.

    For example, this method supports syntax such as the following:

    "complain on peek" taggedAs(SlowTest) ignore { ... }
                                          ^
    

    For more information and examples of this method's use, see the main documentation for trait FreeSpec.

  2. def in(testFun: ⇒ Any): Unit

    Supports tagged test registration.

    Supports tagged test registration.

    For example, this method supports syntax such as the following:

    "complain on peek" taggedAs(SlowTest) in { ... }
                                          ^
    

    For more information and examples of this method's use, see the main documentation for trait FreeSpec.

  3. def is(testFun: ⇒ PendingStatement): Unit

    Supports registration of tagged, pending tests.

    Supports registration of tagged, pending tests.

    For example, this method supports syntax such as the following:

    "complain on peek" taggedAs(SlowTest) is (pending)
                                          ^
    

    For more information and examples of this method's use, see the main documentation for trait FreeSpec.