Packages

c

org.scalatest.fixture.AsyncWordSpecLike

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 WordSpecStringWrapper.

Attributes
protected
Source
AsyncWordSpecLike.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])

Value Members

  1. def ignore(testFun: () ⇒ Future[compatible.Assertion])(implicit pos: Position): Unit

    Supports registration of tagged, ignored tests that take no fixture parameter.

    Supports registration of tagged, ignored tests that take no fixture parameter.

    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 fixture.WordSpec.

    testFun

    the test function

  2. def ignore(testFun: (AsyncWordSpecLike.FixtureParam) ⇒ Future[compatible.Assertion])(implicit pos: Position): 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 { fixture => ... }
                                          ^
    

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

    testFun

    the test function

  3. def in(testFun: () ⇒ Future[compatible.Assertion])(implicit pos: Position): Unit

    Supports tagged test registration, for tests that don't take a fixture.

    Supports tagged test registration, for tests that don't take a fixture.

    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 fixture.WordSpec.

    testFun

    the test function

  4. def in(testFun: (AsyncWordSpecLike.FixtureParam) ⇒ Future[compatible.Assertion])(implicit pos: Position): 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 { fixture => ... }
                                          ^
    

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

    testFun

    the test function

  5. def is(testFun: ⇒ PendingStatement)(implicit pos: Position): 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 fixture.WordSpec.

    testFun

    the test function