ResultOfTaggedAsInvocationOnString

org.scalatest.freespec.FixtureFreeSpecLike.ResultOfTaggedAsInvocationOnString
final protected class ResultOfTaggedAsInvocationOnString(specText: String, tags: List[Tag], pos: Position)

Class that supports the registration of tagged tests.

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

Value parameters

specText

the specification text

tags

the list of tags

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def ignore(testFun: FixtureParam => Assertion): 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 FixtureFreeSpec.

Value parameters

testFun

the test function

Attributes

def ignore(testFun: () => Assertion): 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 FixtureFreeSpec.

Value parameters

testFun

the test function

Attributes

def in(testFun: FixtureParam => Assertion): 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 FixtureFreeSpec.

Value parameters

testFun

the test function

Attributes

def in(testFun: () => Assertion): 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 FixtureFreeSpec.

Value parameters

testFun

the test function

Attributes

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

Value parameters

testFun

the test function

Attributes