Packages

final class BehaviorWord extends AnyRef

Class that supports the registration of a “subject” being specified and tested via the instance referenced from fixture.FlatSpec's behavior field.

This field enables syntax such as the following subject registration:

behavior of "A Stack"
^

For more information and examples of the use of the behavior field, see the main documentation for trait fixture.FlatSpec.

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

Instance Constructors

  1. new BehaviorWord()

Value Members

  1. def of(description: String)(implicit pos: Position): Unit

    Supports the registration of a “subject” being specified and tested via the instance referenced from fixture.FlatSpec's behavior field.

    Supports the registration of a “subject” being specified and tested via the instance referenced from fixture.FlatSpec's behavior field.

    This method enables syntax such as the following subject registration:

    behavior of "A Stack"
             ^
    

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

    description

    the description text