TestRegistration

@deprecated("The org.scalatest.TestRegistration trait has been deprecated and will be removed in a future version of ScalaTest. No replacement is planned.", "3.1.0")

The org.scalatest.TestRegistration has been deprecated and will be removed in a future version of ScalaTest. We do not plan a replacement.

Trait declaring methods that can be used to register by-name test functions that have any result type.

Deprecated
class Object
trait Matchable
class Any

Value members

Abstract methods

def registerIgnoredTest(testText: String, testTags: Tag*)(testFun: => Any)(implicit pos: Position): Unit

Registers an ignored test.

Registers an ignored test.

Value parameters:
testFun

the test function

testTags

the test tags

testText

the test text

def registerTest(testText: String, testTags: Tag*)(testFun: => Any)(implicit pos: Position): Unit

Registers a test.

Registers a test.

Value parameters:
testFun

the test function

testTags

the test tags

testText

the test text