abstract class PlaySpec extends WordSpec with MustMatchers with OptionValues with WsScalaTestClient
Convenience "super Suite" base class for Play tests.
Extend this class by default for testing Play apps with the ScalaTest + Play library. You can mix other traits into it to access needed fixtures, such as GuiceOneAppPerSuite, GuiceOneAppPerTest, GuiceOneServerPerSuite, GuiceOneServerPerTest, OneBrowserPerSuite, OneBrowserPerTest, AllBrowsersPerSuite, or AllBrowsersPerTest mix If you want to use trait MixedFixtures, extend MixedPlaySpec instead.
- Source
- PlaySpec.scala
- Alphabetic
- By Inheritance
- PlaySpec
- WsScalaTestClient
- OptionValues
- MustMatchers
- Explicitly
- MatcherWords
- Tolerance
- WordSpec
- WordSpecLike
- Documenting
- Alerting
- Notifying
- Informing
- CanVerb
- MustVerb
- ShouldVerb
- TestRegistration
- TestSuite
- Suite
- Serializable
- Serializable
- Assertions
- TripleEquals
- TripleEqualsSupport
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new PlaySpec()
Type Members
-
final
class
AWord extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
AfterWord extends AnyRef
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
final
class
AnWord extends AnyRef
- Definition Classes
- MustMatchers
-
sealed
class
AnyMustWrapper[T] extends AnyRef
- Definition Classes
- MustMatchers
-
class
AssertionsHelper extends AnyRef
- Definition Classes
- Assertions
-
class
CheckingEqualizer[L] extends AnyRef
- Definition Classes
- TripleEqualsSupport
-
class
DecidedByEquality[A] extends Equality[A]
- Definition Classes
- Explicitly
-
class
DecidedWord extends AnyRef
- Definition Classes
- Explicitly
-
class
DeterminedByEquivalence[T] extends Equivalence[T]
- Definition Classes
- Explicitly
-
class
DeterminedWord extends AnyRef
- Definition Classes
- Explicitly
-
class
Equalizer[L] extends AnyRef
- Definition Classes
- TripleEqualsSupport
-
final
class
HavePropertyMatcherGenerator extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ItWord extends AnyRef
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
final
class
KeyWord extends AnyRef
- Definition Classes
- MustMatchers
-
trait
NoArgTest extends () ⇒ Outcome with TestData
- Attributes
- protected
- Definition Classes
- TestSuite
-
final
class
PlusOrMinusWrapper[T] extends AnyRef
- Definition Classes
- Tolerance
-
final
class
RegexWord extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
RegexWrapper extends AnyRef
- Definition Classes
- MustMatchers
-
class
ResultOfBeWordForAny[T] extends AnyRef
- Definition Classes
- MustMatchers
-
sealed
class
ResultOfBeWordForCollectedAny[T] extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfBeWordForCollectedArray[T] extends ResultOfBeWordForCollectedAny[Array[T]]
- Definition Classes
- MustMatchers
-
final
class
ResultOfCollectedAny[T] extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfContainWordForCollectedAny[T] extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfEndWithWordForCollectedString extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfEndWithWordForString extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfFullyMatchWordForCollectedString extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfFullyMatchWordForString extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfHaveWordForCollectedExtent[A] extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfHaveWordForExtent[A] extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfIncludeWordForCollectedString extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfIncludeWordForString extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfNotWordForCollectedAny[T] extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfStartWithWordForCollectedString extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfStartWithWordForString extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
ResultOfTaggedAsInvocationOnString extends AnyRef
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
trait
StringCanWrapperForVerb extends AnyRef
- Definition Classes
- CanVerb
-
final
class
StringMustWrapper extends AnyMustWrapper[String] with scalatest.MustMatchers.StringMustWrapperForVerb
- Definition Classes
- MustMatchers
-
trait
StringMustWrapperForVerb extends AnyRef
- Definition Classes
- MustVerb
-
trait
StringShouldWrapperForVerb extends AnyRef
- Definition Classes
- ShouldVerb
-
class
TheAfterWord extends AnyRef
- Definition Classes
- Explicitly
-
final
class
TheSameInstanceAsPhrase extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
TheyWord extends AnyRef
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
class
Valuable[T] extends AnyRef
- Definition Classes
- OptionValues
-
final
class
ValueWord extends AnyRef
- Definition Classes
- MustMatchers
-
final
class
WordSpecStringWrapper extends AnyRef
- Attributes
- protected
- Definition Classes
- WordSpecLike
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
!==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
- Definition Classes
- TripleEqualsSupport
-
def
!==(right: Null): TripleEqualsInvocation[Null]
- Definition Classes
- TripleEqualsSupport
-
def
!==[T](right: T): TripleEqualsInvocation[T]
- Definition Classes
- TripleEqualsSupport
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanComparison[T]
- Definition Classes
- MustMatchers
-
def
<=[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanOrEqualToComparison[T]
- Definition Classes
- MustMatchers
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
- Definition Classes
- TripleEqualsSupport
-
def
===(right: Null): TripleEqualsInvocation[Null]
- Definition Classes
- TripleEqualsSupport
-
def
===[T](right: T): TripleEqualsInvocation[T]
- Definition Classes
- TripleEqualsSupport
-
def
>[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanComparison[T]
- Definition Classes
- MustMatchers
-
def
>=[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanOrEqualToComparison[T]
- Definition Classes
- MustMatchers
-
def
a[T](implicit arg0: ClassTag[T]): ResultOfATypeInvocation[T]
- Definition Classes
- MustMatchers
-
val
a: AWord
- Definition Classes
- MustMatchers
-
val
after: TheAfterWord
- Definition Classes
- Explicitly
-
def
afterWord(text: String): AfterWord
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
def
alert: Alerter
- Attributes
- protected
- Definition Classes
- WordSpecLike → Alerting
-
def
all(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- MustMatchers
-
def
all[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- MustMatchers
-
def
all[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- MustMatchers
-
def
allElementsOf[R](elements: GenTraversable[R]): ResultOfAllElementsOfApplication
- Definition Classes
- MustMatchers
-
def
allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAllOfApplication
- Definition Classes
- MustMatchers
-
def
an[T](implicit arg0: ClassTag[T]): ResultOfAnTypeInvocation[T]
- Definition Classes
- MustMatchers
-
val
an: AnWord
- Definition Classes
- MustMatchers
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
macro
def
assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assertCompiles(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assertDoesNotCompile(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
-
def
assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
def
assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
def
assertThrows[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assertTypeError(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
-
val
assertionsHelper: AssertionsHelper
- Definition Classes
- Assertions
-
macro
def
assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
def
atLeast(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- MustMatchers
-
def
atLeast[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- MustMatchers
-
def
atLeast[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- MustMatchers
-
def
atLeastOneElementOf(elements: GenTraversable[Any]): ResultOfAtLeastOneElementOfApplication
- Definition Classes
- MustMatchers
-
def
atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtLeastOneOfApplication
- Definition Classes
- MustMatchers
-
def
atMost(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- MustMatchers
-
def
atMost[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- MustMatchers
-
def
atMost[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- MustMatchers
-
def
atMostOneElementOf[R](elements: GenTraversable[R]): ResultOfAtMostOneElementOfApplication
- Definition Classes
- MustMatchers
-
def
atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtMostOneOfApplication
- Definition Classes
- MustMatchers
-
val
be: BeWord
- Definition Classes
- MatcherWords
-
val
behave: BehaveWord
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
def
between(from: Int, upTo: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- MustMatchers
-
def
between[K, V, JMAP[k, v] <: Map[k, v]](from: Int, upTo: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- MustMatchers
-
def
between[E, C[_]](from: Int, upTo: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- MustMatchers
-
def
cancel(cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
cancel(message: String)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
cancel()(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
compile: CompileWord
- Definition Classes
- MatcherWords
-
val
contain: ContainWord
- Definition Classes
- MatcherWords
-
def
conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) ⇒ B): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) ⇒ A): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
implicit
def
convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]
- Definition Classes
- Tolerance
-
implicit
def
convertOptionToValuable[T](opt: Option[T])(implicit pos: Position): Valuable[T]
- Definition Classes
- OptionValues
-
implicit
def
convertSymbolToHavePropertyMatcherGenerator(symbol: Symbol)(implicit prettifier: Prettifier, pos: Position): HavePropertyMatcherGenerator
- Definition Classes
- MustMatchers
-
implicit
def
convertToAnyMustWrapper[T](o: T)(implicit pos: Position, prettifier: Prettifier): AnyMustWrapper[T]
- Definition Classes
- MustMatchers
-
def
convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
implicit
def
convertToEqualizer[T](left: T): Equalizer[T]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
implicit
def
convertToRegexWrapper(o: Regex): RegexWrapper
- Definition Classes
- MustMatchers
-
implicit
def
convertToStringCanWrapper(o: String)(implicit position: Position): StringCanWrapperForVerb
- Definition Classes
- CanVerb
-
implicit
def
convertToStringMustWrapper(o: String)(implicit pos: Position, prettifier: Prettifier): StringMustWrapper
- Definition Classes
- MustMatchers
-
implicit
def
convertToStringMustWrapperForVerb(o: String)(implicit position: Position): StringMustWrapperForVerb
- Definition Classes
- MustVerb
-
implicit
def
convertToStringShouldWrapperForVerb(o: String)(implicit position: Position): StringShouldWrapperForVerb
- Definition Classes
- ShouldVerb
-
implicit
def
convertToWordSpecStringWrapper(s: String): WordSpecStringWrapper
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
val
decided: DecidedWord
- Definition Classes
- Explicitly
-
def
defaultEquality[A]: Equality[A]
- Definition Classes
- TripleEqualsSupport
-
val
defined: DefinedWord
- Definition Classes
- MatcherWords
-
def
definedAt[T](right: T): ResultOfDefinedAt[T]
- Definition Classes
- MustMatchers
-
val
determined: DeterminedWord
- Definition Classes
- Explicitly
-
val
empty: EmptyWord
- Definition Classes
- MatcherWords
-
val
endWith: EndWithWord
- Definition Classes
- MatcherWords
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equal(o: Null): Matcher[AnyRef]
- Definition Classes
- MustMatchers
-
def
equal[T](spread: Spread[T]): Matcher[T]
- Definition Classes
- MustMatchers
-
def
equal(right: Any): MatcherFactory1[Any, Equality]
- Definition Classes
- MatcherWords
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
every(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- MustMatchers
-
def
every[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- MustMatchers
-
def
every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- MustMatchers
-
def
exactly(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- MustMatchers
-
def
exactly[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- MustMatchers
-
def
exactly[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- MustMatchers
-
final
def
execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit
- Definition Classes
- Suite
-
val
exist: ExistWord
- Definition Classes
- MatcherWords
-
def
expectedTestCount(filter: Filter): Int
- Definition Classes
- Suite
-
def
fail(cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
fail(message: String, cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
fail(message: String)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
fail()(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
fullyMatch: FullyMatchWord
- Definition Classes
- MatcherWords
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
have: HaveWord
- Definition Classes
- MatcherWords
-
def
inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderApplication
- Definition Classes
- MustMatchers
-
def
inOrderElementsOf[R](elements: GenTraversable[R]): ResultOfInOrderElementsOfApplication
- Definition Classes
- MustMatchers
-
def
inOrderOnly[T](firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderOnlyApplication
- Definition Classes
- MustMatchers
-
val
include: IncludeWord
- Definition Classes
- MatcherWords
-
def
info: Informer
- Attributes
- protected
- Definition Classes
- WordSpecLike → Informing
-
def
intercept[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): T
- Definition Classes
- Assertions
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
it: ItWord
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
val
key: KeyWord
- Definition Classes
- MustMatchers
-
val
length: LengthWord
- Definition Classes
- MatcherWords
-
def
lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
markup: Documenter
- Attributes
- protected
- Definition Classes
- WordSpecLike → Documenting
-
val
matchPattern: MatchPatternWord
- Definition Classes
- MatcherWords
-
def
message(expectedMessage: String): ResultOfMessageWordApplication
- Definition Classes
- MustMatchers
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nestedSuites: IndexedSeq[Suite]
- Definition Classes
- Suite
-
def
no(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
- Definition Classes
- MustMatchers
-
def
no[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]
- Definition Classes
- MustMatchers
-
def
no[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
- Definition Classes
- MustMatchers
-
def
noElementsOf(elements: GenTraversable[Any]): ResultOfNoElementsOfApplication
- Definition Classes
- MustMatchers
-
def
noException(implicit pos: Position): NoExceptionWord
- Definition Classes
- MatcherWords
-
def
noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfNoneOfApplication
- Definition Classes
- MustMatchers
-
val
not: NotWord
- Definition Classes
- MatcherWords
-
def
note: Notifier
- Attributes
- protected
- Definition Classes
- WordSpecLike → Notifying
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
of[T](implicit ev: ClassTag[T]): ResultOfOfTypeInvocation[T]
- Definition Classes
- MustMatchers
-
def
oneElementOf(elements: GenTraversable[Any]): ResultOfOneElementOfApplication
- Definition Classes
- MustMatchers
-
def
oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfOneOfApplication
- Definition Classes
- MustMatchers
-
def
only(xs: Any*)(implicit pos: Position): ResultOfOnlyApplication
- Definition Classes
- MustMatchers
-
def
pending: Assertion with PendingStatement
- Definition Classes
- Assertions
-
def
pendingUntilFixed(f: ⇒ Unit)(implicit pos: Position): Assertion with PendingStatement
- Definition Classes
- Assertions
-
val
readable: ReadableWord
- Definition Classes
- MatcherWords
-
val
regex: RegexWord
- Definition Classes
- MustMatchers
-
final
def
registerIgnoredTest(testText: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit
- Definition Classes
- WordSpecLike → TestRegistration
-
final
def
registerTest(testText: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit
- Definition Classes
- WordSpecLike → TestRegistration
-
def
rerunner: Option[String]
- Definition Classes
- Suite
-
def
run(testName: Option[String], args: Args): Status
- Definition Classes
- WordSpecLike → Suite
-
def
runNestedSuites(args: Args): Status
- Attributes
- protected
- Definition Classes
- Suite
-
def
runTest(testName: String, args: Args): Status
- Attributes
- protected
- Definition Classes
- WordSpecLike → TestSuite → Suite
-
def
runTests(testName: Option[String], args: Args): Status
- Attributes
- protected
- Definition Classes
- WordSpecLike → Suite
-
val
size: SizeWord
- Definition Classes
- MatcherWords
-
val
sorted: SortedWord
- Definition Classes
- MatcherWords
-
val
startWith: StartWithWord
- Definition Classes
- MatcherWords
-
final
val
styleName: String
- Definition Classes
- WordSpecLike → Suite
-
implicit
val
subjectRegistrationFunction: StringVerbBlockRegistration
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
implicit
val
subjectWithAfterWordRegistrationFunction: SubjectWithAfterWordRegistration
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
final
val
succeed: Assertion
- Definition Classes
- Assertions
-
def
suiteId: String
- Definition Classes
- Suite
-
def
suiteName: String
- Definition Classes
- Suite
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tags: Map[String, Set[String]]
- Definition Classes
- WordSpecLike → Suite
-
def
testDataFor(testName: String, theConfigMap: ConfigMap): TestData
- Definition Classes
- WordSpecLike → Suite
-
def
testNames: Set[String]
- Definition Classes
- WordSpecLike → Suite
-
def
the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]
- Definition Classes
- MustMatchers
-
def
theSameElementsAs(xs: GenTraversable[_]): ResultOfTheSameElementsAsApplication
- Definition Classes
- MustMatchers
-
def
theSameElementsInOrderAs(xs: GenTraversable[_]): ResultOfTheSameElementsInOrderAsApplication
- Definition Classes
- MustMatchers
-
val
theSameInstanceAs: TheSameInstanceAsPhrase
- Definition Classes
- MustMatchers
-
val
they: TheyWord
- Attributes
- protected
- Definition Classes
- WordSpecLike
-
def
thrownBy(fun: ⇒ Any): ResultOfThrownByApplication
- Definition Classes
- MustMatchers
-
def
toString(): String
- Definition Classes
- WordSpec → AnyRef → Any
-
val
typeCheck: TypeCheckWord
- Definition Classes
- MatcherWords
-
def
typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
implicit
def
unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
val
value: ValueWord
- Definition Classes
- MustMatchers
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withClue[T](clue: Any)(fun: ⇒ T): T
- Definition Classes
- Assertions
-
def
withFixture(test: NoArgTest): Outcome
- Attributes
- protected
- Definition Classes
- TestSuite
-
val
writable: WritableWord
- Definition Classes
- MatcherWords
-
def
wsCall(call: Call)(implicit portNumber: PortNumber, wsClient: WSClient): WSRequest
Construct a WS request for the given reverse route.
Construct a WS request for the given reverse route.
For example:
wsCall(controllers.routes.Application.index()).get()
- call
the
Call
describing the request- portNumber
the port number of the
TestServer
- wsClient
the implicit WSClient
- Definition Classes
- WsScalaTestClient
-
def
wsUrl(url: String)(implicit portNumber: PortNumber, wsClient: WSClient): WSRequest
Construct a WS request for the given relative URL.
Construct a WS request for the given relative URL.
- url
the URL of the request
- portNumber
the port number of the
TestServer
- wsClient
the implicit WSClient
- Definition Classes
- WsScalaTestClient
Deprecated Value Members
-
final
def
execute: Unit
- Definition Classes
- Suite
- Annotations
- @deprecated
- Deprecated
The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().
-
def
trap[T](f: ⇒ T): Throwable
- Definition Classes
- Assertions
- Annotations
- @deprecated
- Deprecated
The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest