NoArgAsyncTest

org.scalatest.AsyncTestSuite.NoArgAsyncTest
trait NoArgAsyncTest extends () => FutureOutcome, TestData

A test function taking no arguments and returning a FutureOutcome.

For more detail and examples, see the relevant section in the documentation for trait AsyncFlatSpec.

Attributes

Graph
Supertypes
trait TestData
trait () => FutureOutcome
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Runs the body of the test, returning a FutureOutcome.

Runs the body of the test, returning a FutureOutcome.

Attributes

Inherited methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function0 -> Any
Inherited from:
Function0

Inherited fields

A ConfigMap containing objects that can be used to configure the fixture and test.

A ConfigMap containing objects that can be used to configure the fixture and test.

Attributes

Inherited from:
TestData
val name: String

The name of this test.

The name of this test.

See the main documentation for this trait for an explanation of the difference between name, text, and scopes.

Attributes

Inherited from:
TestData
val pos: Option[Position]

Attributes

Inherited from:
TestData
val scopes: IndexedSeq[String]

An immutable IndexedSeq containing the text for any "scopes" enclosing this test, in order from outermost to innermost scope.

An immutable IndexedSeq containing the text for any "scopes" enclosing this test, in order from outermost to innermost scope.

See the main documentation for this trait for an explanation of the difference between name, text, and scopes. If a test has no surrounding scopes, this field will contain an empty IndexedSeq.

Attributes

Inherited from:
TestData
val tags: Set[String]

Tag names for this test.

Tag names for this test.

Attributes

Inherited from:
TestData
val text: String

The "text" for this test.

The "text" for this test.

See the main documentation for this trait for an explanation of the difference between name, text, and scopes. If a test has no surrounding scopes, this field will contain the same string as name.

Attributes

Inherited from:
TestData