Trait

com.spotify.scio.testing

PipelineSpec

Related Doc: package testing

Permalink

trait PipelineSpec extends FlatSpec with Matchers with SCollectionMatchers with PipelineTestUtils with RunEnforcementJobTest

Trait for unit testing pipelines.

A simple test might look like this:

class SimplePipelineTest extends PipelineSpec {
  "A simple pipeline" should "sum integers" in {
    runWithContext { sc =>
      sc.parallelize(Seq(1, 2, 3)).sum should containSingleValue (6)
    }
  }
}
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PipelineSpec
  2. RunEnforcementJobTest
  3. PipelineTestUtils
  4. SCollectionMatchers
  5. Matchers
  6. Explicitly
  7. MatcherWords
  8. Tolerance
  9. FlatSpec
  10. FlatSpecLike
  11. Documenting
  12. Alerting
  13. Notifying
  14. Informing
  15. CanVerb
  16. MustVerb
  17. ShouldVerb
  18. TestRegistration
  19. TestSuite
  20. Suite
  21. Serializable
  22. Serializable
  23. Assertions
  24. TripleEquals
  25. TripleEqualsSupport
  26. AnyRef
  27. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class AWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  2. final class AnWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  3. sealed class AnyShouldWrapper[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  4. class AssertionsHelper extends AnyRef

    Permalink
    Definition Classes
    Assertions
  5. final class BehaviorWord extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  6. class CheckingEqualizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  7. class DecidedByEquality[A] extends Equality[A]

    Permalink
    Definition Classes
    Explicitly
  8. class DecidedWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  9. class DeterminedByEquivalence[T] extends Equivalence[T]

    Permalink
    Definition Classes
    Explicitly
  10. class DeterminedWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  11. class Equalizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  12. final class HavePropertyMatcherGenerator extends AnyRef

    Permalink
    Definition Classes
    Matchers
  13. final class IgnoreVerbString extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  14. final class IgnoreVerbStringTaggedAs extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  15. final class IgnoreWord extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  16. final class InAndIgnoreMethods extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  17. final class InAndIgnoreMethodsAfterTaggedAs extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  18. final class ItVerbString extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  19. final class ItVerbStringTaggedAs extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  20. final class ItWord extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  21. sealed trait IterableMatcher[T, B] extends MatcherBuilder[T] with Matcher[T]

    Permalink
    Definition Classes
    SCollectionMatchers
  22. final class KeyWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  23. sealed trait MatcherBuilder[T] extends AnyRef

    Permalink
    Definition Classes
    SCollectionMatchers
  24. trait NoArgTest extends () ⇒ Outcome with TestData

    Permalink
    Attributes
    protected
    Definition Classes
    TestSuite
  25. final class PlusOrMinusWrapper[T] extends AnyRef

    Permalink
    Definition Classes
    Tolerance
  26. final class RegexWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  27. final class RegexWrapper extends AnyRef

    Permalink
    Definition Classes
    Matchers
  28. class ResultOfBeWordForAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  29. sealed class ResultOfBeWordForCollectedAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  30. final class ResultOfBeWordForCollectedArray[T] extends ResultOfBeWordForCollectedAny[Array[T]]

    Permalink
    Definition Classes
    Matchers
  31. final class ResultOfCollectedAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  32. final class ResultOfContainWordForCollectedAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  33. final class ResultOfEndWithWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  34. final class ResultOfEndWithWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  35. final class ResultOfFullyMatchWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  36. final class ResultOfFullyMatchWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  37. final class ResultOfHaveWordForCollectedExtent[A] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  38. final class ResultOfHaveWordForExtent[A] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  39. final class ResultOfIncludeWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  40. final class ResultOfIncludeWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  41. final class ResultOfNotWordForCollectedAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  42. final class ResultOfStartWithWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  43. final class ResultOfStartWithWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  44. sealed trait SingleMatcher[T, B] extends MatcherBuilder[T] with Matcher[T]

    Permalink
    Definition Classes
    SCollectionMatchers
  45. trait StringCanWrapperForVerb extends AnyRef

    Permalink
    Definition Classes
    CanVerb
  46. trait StringMustWrapperForVerb extends AnyRef

    Permalink
    Definition Classes
    MustVerb
  47. final class StringShouldWrapper extends AnyShouldWrapper[String] with org.scalatest.Matchers.StringShouldWrapperForVerb

    Permalink
    Definition Classes
    Matchers
  48. trait StringShouldWrapperForVerb extends AnyRef

    Permalink
    Definition Classes
    ShouldVerb
  49. class TheAfterWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  50. final class TheSameInstanceAsPhrase extends AnyRef

    Permalink
    Definition Classes
    Matchers
  51. final class TheyVerbString extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  52. final class TheyVerbStringTaggedAs extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  53. final class TheyWord extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  54. final class ValueWord extends AnyRef

    Permalink
    Definition Classes
    Matchers

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  3. def !==(right: Null): TripleEqualsInvocation[Null]

    Permalink
    Definition Classes
    TripleEqualsSupport
  4. def !==[T](right: T): TripleEqualsInvocation[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  5. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  6. def <[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanComparison[T]

    Permalink
    Definition Classes
    Matchers
  7. def <=[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanOrEqualToComparison[T]

    Permalink
    Definition Classes
    Matchers
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  10. def ===(right: Null): TripleEqualsInvocation[Null]

    Permalink
    Definition Classes
    TripleEqualsSupport
  11. def ===[T](right: T): TripleEqualsInvocation[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  12. def >[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanComparison[T]

    Permalink
    Definition Classes
    Matchers
  13. def >=[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanOrEqualToComparison[T]

    Permalink
    Definition Classes
    Matchers
  14. def JobTest(className: String): Builder

    Permalink
    Definition Classes
    RunEnforcementJobTest
  15. def JobTest[T](implicit arg0: ClassTag[T]): Builder

    Permalink
    Definition Classes
    RunEnforcementJobTest
  16. def a[T](implicit arg0: ClassTag[T]): ResultOfATypeInvocation[T]

    Permalink
    Definition Classes
    Matchers
  17. val a: AWord

    Permalink
    Definition Classes
    Matchers
  18. val after: TheAfterWord

    Permalink
    Definition Classes
    Explicitly
  19. def alert: Alerter

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Alerting
  20. def all(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  21. 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]]

    Permalink
    Definition Classes
    Matchers
  22. def all[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  23. def allElementsOf[R](elements: GenTraversable[R]): ResultOfAllElementsOfApplication

    Permalink
    Definition Classes
    Matchers
  24. def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAllOfApplication

    Permalink
    Definition Classes
    Matchers
  25. def an[T](implicit arg0: ClassTag[T]): ResultOfAnTypeInvocation[T]

    Permalink
    Definition Classes
    Matchers
  26. val an: AnWord

    Permalink
    Definition Classes
    Matchers
  27. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  28. macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  29. macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  30. macro def assertCompiles(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  31. macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  32. def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  33. def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  34. def assertThrows[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  35. macro def assertTypeError(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  36. val assertionsHelper: AssertionsHelper

    Permalink
    Definition Classes
    Assertions
  37. macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  38. macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  39. def atLeast(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  40. 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]]

    Permalink
    Definition Classes
    Matchers
  41. def atLeast[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  42. def atLeastOneElementOf(elements: GenTraversable[Any]): ResultOfAtLeastOneElementOfApplication

    Permalink
    Definition Classes
    Matchers
  43. def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtLeastOneOfApplication

    Permalink
    Definition Classes
    Matchers
  44. def atMost(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  45. 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]]

    Permalink
    Definition Classes
    Matchers
  46. def atMost[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  47. def atMostOneElementOf[R](elements: GenTraversable[R]): ResultOfAtMostOneElementOfApplication

    Permalink
    Definition Classes
    Matchers
  48. def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtMostOneOfApplication

    Permalink
    Definition Classes
    Matchers
  49. val be: BeWord

    Permalink
    Definition Classes
    MatcherWords
  50. val beEmpty: IterableMatcher[SCollection[_], Any]

    Permalink

    Assert that the SCollection in question is empty.

    Assert that the SCollection in question is empty.

    Definition Classes
    SCollectionMatchers
  51. val behave: BehaveWord

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  52. val behavior: BehaviorWord

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  53. def between(from: Int, upTo: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  54. 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]]

    Permalink
    Definition Classes
    Matchers
  55. def between[E, C[_]](from: Int, upTo: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  56. def cancel(cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  57. def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  58. def cancel(message: String)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  59. def cancel()(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  60. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. val compile: CompileWord

    Permalink
    Definition Classes
    MatcherWords
  62. val contain: ContainWord

    Permalink
    Definition Classes
    MatcherWords
  63. def containInAnyOrder[T](value: Iterable[T])(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

    Assert that the SCollection in question contains the provided elements.

    Assert that the SCollection in question contains the provided elements.

    Definition Classes
    SCollectionMatchers
  64. def containSingleValue[T](value: T)(implicit arg0: ClassTag[T]): SingleMatcher[SCollection[T], T]

    Permalink

    Assert that the SCollection in question contains a single provided element.

    Assert that the SCollection in question contains a single provided element.

    Definition Classes
    SCollectionMatchers
  65. def containValue[T](value: T)(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

    Assert that the SCollection in question contains the provided element without making assumptions about other elements in the collection.

    Assert that the SCollection in question contains the provided element without making assumptions about other elements in the collection.

    Definition Classes
    SCollectionMatchers
  66. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  67. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  68. def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) ⇒ B): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  69. def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  70. def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) ⇒ A): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  71. implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]

    Permalink
    Definition Classes
    Tolerance
  72. implicit def convertSymbolToHavePropertyMatcherGenerator(symbol: Symbol)(implicit prettifier: Prettifier, pos: Position): HavePropertyMatcherGenerator

    Permalink
    Definition Classes
    Matchers
  73. implicit def convertToAnyShouldWrapper[T](o: T)(implicit pos: Position, prettifier: Prettifier): AnyShouldWrapper[T]

    Permalink
    Definition Classes
    Matchers
  74. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  75. implicit def convertToEqualizer[T](left: T): Equalizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  76. implicit def convertToInAndIgnoreMethods(resultOfStringPassedToVerb: ResultOfStringPassedToVerb): InAndIgnoreMethods

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  77. implicit def convertToInAndIgnoreMethodsAfterTaggedAs(resultOfTaggedAsInvocation: ResultOfTaggedAsInvocation): InAndIgnoreMethodsAfterTaggedAs

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  78. implicit def convertToRegexWrapper(o: Regex): RegexWrapper

    Permalink
    Definition Classes
    Matchers
  79. implicit def convertToStringCanWrapper(o: String)(implicit position: Position): StringCanWrapperForVerb

    Permalink
    Definition Classes
    CanVerb
  80. implicit def convertToStringMustWrapperForVerb(o: String)(implicit position: Position): StringMustWrapperForVerb

    Permalink
    Definition Classes
    MustVerb
  81. implicit def convertToStringShouldWrapper(o: String)(implicit pos: Position, prettifier: Prettifier): StringShouldWrapper

    Permalink
    Definition Classes
    Matchers
  82. implicit def convertToStringShouldWrapperForVerb(o: String)(implicit position: Position): StringShouldWrapperForVerb

    Permalink
    Definition Classes
    ShouldVerb
  83. val decided: DecidedWord

    Permalink
    Definition Classes
    Explicitly
  84. def defaultEquality[A]: Equality[A]

    Permalink
    Definition Classes
    TripleEqualsSupport
  85. val defined: DefinedWord

    Permalink
    Definition Classes
    MatcherWords
  86. def definedAt[T](right: T): ResultOfDefinedAt[T]

    Permalink
    Definition Classes
    Matchers
  87. val determined: DeterminedWord

    Permalink
    Definition Classes
    Explicitly
  88. val empty: EmptyWord

    Permalink
    Definition Classes
    MatcherWords
  89. val endWith: EndWithWord

    Permalink
    Definition Classes
    MatcherWords
  90. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  91. def equal(o: Null): Matcher[AnyRef]

    Permalink
    Definition Classes
    Matchers
  92. def equal[T](spread: Spread[T]): Matcher[T]

    Permalink
    Definition Classes
    Matchers
  93. def equal(right: Any): MatcherFactory1[Any, Equality]

    Permalink
    Definition Classes
    MatcherWords
  94. def equalMapOf[K, V](value: Map[K, V])(implicit arg0: ClassTag[K], arg1: ClassTag[V]): SingleMatcher[SCollection[(K, V)], Map[K, V]]

    Permalink

    Assert that the SCollection in question is equivalent to the provided map.

    Assert that the SCollection in question is equivalent to the provided map.

    Definition Classes
    SCollectionMatchers
  95. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  96. def every(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  97. 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]]

    Permalink
    Definition Classes
    Matchers
  98. def every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  99. def exactly(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  100. 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]]

    Permalink
    Definition Classes
    Matchers
  101. def exactly[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  102. final def execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit

    Permalink
    Definition Classes
    Suite
  103. def exist[T](predicate: (T) ⇒ Boolean)(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

    Assert that some elements of the SCollection in question satisfy the provided function.

    Assert that some elements of the SCollection in question satisfy the provided function.

    Definition Classes
    SCollectionMatchers
  104. val exist: ExistWord

    Permalink
    Definition Classes
    MatcherWords
  105. def expectedTestCount(filter: Filter): Int

    Permalink
    Definition Classes
    Suite
  106. def fail(cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  107. def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  108. def fail(message: String)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  109. def fail()(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  110. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  111. def forAll[T](predicate: (T) ⇒ Boolean)(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

    Assert that all elements of the SCollection in question satisfy the provided function.

    Assert that all elements of the SCollection in question satisfy the provided function.

    Definition Classes
    SCollectionMatchers
  112. val fullyMatch: FullyMatchWord

    Permalink
    Definition Classes
    MatcherWords
  113. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  114. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  115. val have: HaveWord

    Permalink
    Definition Classes
    MatcherWords
  116. def haveSize(size: Int): IterableMatcher[SCollection[_], Any]

    Permalink

    Assert that the SCollection in question has provided size.

    Assert that the SCollection in question has provided size.

    Definition Classes
    SCollectionMatchers
  117. val ignore: IgnoreWord

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  118. def inCombinedNonLatePanes[T, B](window: BoundedWindow)(matcher: IterableMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    Permalink

    SCollection assertion only applied to the specified window across all panes that were not produced by the arrival of late data.

    SCollection assertion only applied to the specified window across all panes that were not produced by the arrival of late data.

    Definition Classes
    SCollectionMatchers
  119. def inEarlyGlobalWindowPanes[T, B](matcher: IterableMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    Permalink

    SCollection assertion only applied to early timing global window.

    SCollection assertion only applied to early timing global window.

    Definition Classes
    SCollectionMatchers
  120. def inFinalPane[T, B](window: BoundedWindow)(matcher: MatcherBuilder[T])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    Permalink

    SCollection assertion only applied to the specified window, running the checker only on the final pane for each key.

    SCollection assertion only applied to the specified window, running the checker only on the final pane for each key.

    Definition Classes
    SCollectionMatchers
  121. def inOnTimePane[T](window: BoundedWindow)(matcher: MatcherBuilder[T])(implicit arg0: ClassTag[T]): Matcher[T]

    Permalink

    SCollection assertion only applied to the specified window, running the checker only on the on-time pane for each key.

    SCollection assertion only applied to the specified window, running the checker only on the on-time pane for each key.

    Definition Classes
    SCollectionMatchers
  122. def inOnlyPane[T, B](window: BoundedWindow)(matcher: SingleMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    Permalink

    SCollection assertion only applied to the specified window.

    SCollection assertion only applied to the specified window. The assertion expect outputs to be produced to the provided window exactly once.

    Definition Classes
    SCollectionMatchers
  123. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderApplication

    Permalink
    Definition Classes
    Matchers
  124. def inOrderElementsOf[R](elements: GenTraversable[R]): ResultOfInOrderElementsOfApplication

    Permalink
    Definition Classes
    Matchers
  125. def inOrderOnly[T](firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderOnlyApplication

    Permalink
    Definition Classes
    Matchers
  126. def inWindow[T, B](window: BoundedWindow)(matcher: IterableMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    Permalink

    SCollection assertion only applied to the specified window.

    SCollection assertion only applied to the specified window.

    Definition Classes
    SCollectionMatchers
  127. val include: IncludeWord

    Permalink
    Definition Classes
    MatcherWords
  128. def info: Informer

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Informing
  129. def intercept[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): T

    Permalink
    Definition Classes
    Assertions
  130. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  131. val it: ItWord

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  132. val key: KeyWord

    Permalink
    Definition Classes
    Matchers
  133. val length: LengthWord

    Permalink
    Definition Classes
    MatcherWords
  134. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  135. def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  136. def markup: Documenter

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Documenting
  137. val matchPattern: MatchPatternWord

    Permalink
    Definition Classes
    MatcherWords
  138. def message(expectedMessage: String): ResultOfMessageWordApplication

    Permalink
    Definition Classes
    Matchers
  139. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  140. def nestedSuites: IndexedSeq[Suite]

    Permalink
    Definition Classes
    Suite
  141. def no(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  142. 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]]

    Permalink
    Definition Classes
    Matchers
  143. def no[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  144. def noElementsOf(elements: GenTraversable[Any]): ResultOfNoElementsOfApplication

    Permalink
    Definition Classes
    Matchers
  145. def noException(implicit pos: Position): NoExceptionWord

    Permalink
    Definition Classes
    MatcherWords
  146. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfNoneOfApplication

    Permalink
    Definition Classes
    Matchers
  147. val not: NotWord

    Permalink
    Definition Classes
    MatcherWords
  148. def note: Notifier

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Notifying
  149. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  150. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  151. def of[T](implicit ev: ClassTag[T]): ResultOfOfTypeInvocation[T]

    Permalink
    Definition Classes
    Matchers
  152. def oneElementOf(elements: GenTraversable[Any]): ResultOfOneElementOfApplication

    Permalink
    Definition Classes
    Matchers
  153. def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfOneOfApplication

    Permalink
    Definition Classes
    Matchers
  154. def only(xs: Any*)(implicit pos: Position): ResultOfOnlyApplication

    Permalink
    Definition Classes
    Matchers
  155. def pending: Assertion with PendingStatement

    Permalink
    Definition Classes
    Assertions
  156. def pendingUntilFixed(f: ⇒ Unit)(implicit pos: Position): Assertion with PendingStatement

    Permalink
    Definition Classes
    Assertions
  157. val readable: ReadableWord

    Permalink
    Definition Classes
    MatcherWords
  158. val regex: RegexWord

    Permalink
    Definition Classes
    Matchers
  159. final def registerIgnoredTest(testText: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit

    Permalink
    Definition Classes
    FlatSpecLike → TestRegistration
  160. final def registerTest(testText: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit

    Permalink
    Definition Classes
    FlatSpecLike → TestRegistration
  161. def rerunner: Option[String]

    Permalink
    Definition Classes
    Suite
  162. def run(testName: Option[String], args: org.scalatest.Args): Status

    Permalink
    Definition Classes
    FlatSpecLike → Suite
  163. def runNestedSuites(args: org.scalatest.Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    Suite
  164. def runTest(testName: String, args: org.scalatest.Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → TestSuite → Suite
  165. def runTests(testName: Option[String], args: org.scalatest.Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Suite
  166. def runWithContext[T](fn: (ScioContext) ⇒ T): ScioResult

    Permalink

    Test pipeline components with a ScioContext.

    Test pipeline components with a ScioContext.

    fn

    code that tests the components and verifies the result

    runWithContext { sc =>
      sc.parallelize(Seq(1, 2, 3)).sum should containSingleValue (6)
    }
    Definition Classes
    PipelineTestUtils
  167. def runWithData[T1, T2, T3, T4, U](data1: Iterable[T1], data2: Iterable[T2], data3: Iterable[T3], data4: Iterable[T4])(fn: (SCollection[T1], SCollection[T2], SCollection[T3], SCollection[T4]) ⇒ SCollection[U])(implicit arg0: ClassTag[T1], arg1: ClassTag[T2], arg2: ClassTag[T3], arg3: ClassTag[T4], arg4: ClassTag[U]): Seq[U]

    Permalink

    Test pipeline components with in-memory data.

    Test pipeline components with in-memory data.

    Input data is passed to fn as SCollections and the result SCollection from fn is extracted and to be verified.

    data1

    input data

    data2

    input data

    data3

    input data

    data4

    input data

    fn

    transform to be tested

    returns

    output data

    Definition Classes
    PipelineTestUtils
  168. def runWithData[T1, T2, T3, U](data1: Iterable[T1], data2: Iterable[T2], data3: Iterable[T3])(fn: (SCollection[T1], SCollection[T2], SCollection[T3]) ⇒ SCollection[U])(implicit arg0: ClassTag[T1], arg1: ClassTag[T2], arg2: ClassTag[T3], arg3: ClassTag[U]): Seq[U]

    Permalink

    Test pipeline components with in-memory data.

    Test pipeline components with in-memory data.

    Input data is passed to fn as SCollections and the result SCollection from fn is extracted and to be verified.

    data1

    input data

    data2

    input data

    data3

    input data

    fn

    transform to be tested

    returns

    output data

    Definition Classes
    PipelineTestUtils
  169. def runWithData[T1, T2, U](data1: Iterable[T1], data2: Iterable[T2])(fn: (SCollection[T1], SCollection[T2]) ⇒ SCollection[U])(implicit arg0: ClassTag[T1], arg1: ClassTag[T2], arg2: ClassTag[U]): Seq[U]

    Permalink

    Test pipeline components with in-memory data.

    Test pipeline components with in-memory data.

    Input data is passed to fn as SCollections and the result SCollection from fn is extracted and to be verified.

    data1

    input data

    data2

    input data

    fn

    transform to be tested

    returns

    output data

    Definition Classes
    PipelineTestUtils
  170. def runWithData[T, U](data: Iterable[T])(fn: (SCollection[T]) ⇒ SCollection[U])(implicit arg0: ClassTag[T], arg1: ClassTag[U]): Seq[U]

    Permalink

    Test pipeline components with in-memory data.

    Test pipeline components with in-memory data.

    Input data is passed to fn as an SCollection and the result SCollection from fn is extracted and to be verified.

    data

    input data

    fn

    transform to be tested

    returns

    output data

    runWithData(Seq(1, 2, 3)) { p =>
      p.sum
    } shouldBe Seq(6)
    Definition Classes
    PipelineTestUtils
  171. def runWithLocalOutput[U](fn: (ScioContext) ⇒ SCollection[U]): (ScioResult, Seq[U])

    Permalink

    Test pipeline components with a ScioContext and materialized resulting collection.

    Test pipeline components with a ScioContext and materialized resulting collection.

    The result SCollection from fn is extracted and to be verified.

    fn

    transform to be tested

    returns

    a tuple containing the ScioResult and the materialized result of fn as a Seq

    Definition Classes
    PipelineTestUtils
  172. def satisfy[T](predicate: (Iterable[T]) ⇒ Boolean)(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

    Assert that the SCollection in question satisfies the provided function.

    Assert that the SCollection in question satisfies the provided function.

    Definition Classes
    SCollectionMatchers
  173. implicit val shorthandSharedTestRegistrationFunction: StringVerbBehaveLikeInvocation

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  174. implicit val shorthandTestRegistrationFunction: StringVerbStringInvocation

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  175. val size: SizeWord

    Permalink
    Definition Classes
    MatcherWords
  176. val sorted: SortedWord

    Permalink
    Definition Classes
    MatcherWords
  177. val startWith: StartWithWord

    Permalink
    Definition Classes
    MatcherWords
  178. final val styleName: String

    Permalink
    Definition Classes
    FlatSpecLike → Suite
  179. final val succeed: Assertion

    Permalink
    Definition Classes
    Assertions
  180. def suiteId: String

    Permalink
    Definition Classes
    Suite
  181. def suiteName: String

    Permalink
    Definition Classes
    Suite
  182. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  183. def tags: Map[String, Set[String]]

    Permalink
    Definition Classes
    FlatSpecLike → Suite
  184. def testDataFor(testName: String, theConfigMap: ConfigMap): TestData

    Permalink
    Definition Classes
    FlatSpecLike → Suite
  185. def testNames: Set[String]

    Permalink
    Definition Classes
    FlatSpecLike → Suite
  186. def the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]

    Permalink
    Definition Classes
    Matchers
  187. def theSameElementsAs(xs: GenTraversable[_]): ResultOfTheSameElementsAsApplication

    Permalink
    Definition Classes
    Matchers
  188. def theSameElementsInOrderAs(xs: GenTraversable[_]): ResultOfTheSameElementsInOrderAsApplication

    Permalink
    Definition Classes
    Matchers
  189. val theSameInstanceAs: TheSameInstanceAsPhrase

    Permalink
    Definition Classes
    Matchers
  190. val they: TheyWord

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  191. def thrownBy(fun: ⇒ Any): ResultOfThrownByApplication

    Permalink
    Definition Classes
    Matchers
  192. def toString(): String

    Permalink
    Definition Classes
    FlatSpec → AnyRef → Any
  193. val typeCheck: TypeCheckWord

    Permalink
    Definition Classes
    MatcherWords
  194. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  195. implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  196. val value: ValueWord

    Permalink
    Definition Classes
    Matchers
  197. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  198. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  199. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  200. def withClue[T](clue: Any)(fun: ⇒ T): T

    Permalink
    Definition Classes
    Assertions
  201. def withFixture(test: NoArgTest): Outcome

    Permalink
    Attributes
    protected
    Definition Classes
    RunEnforcementJobTest → TestSuite
  202. val writable: WritableWord

    Permalink
    Definition Classes
    MatcherWords

Deprecated Value Members

  1. final def execute: Unit

    Permalink
    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().

  2. def trap[T](f: ⇒ T): Throwable

    Permalink
    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

Inherited from RunEnforcementJobTest

Inherited from PipelineTestUtils

Inherited from SCollectionMatchers

Inherited from Matchers

Inherited from Explicitly

Inherited from MatcherWords

Inherited from Tolerance

Inherited from FlatSpec

Inherited from FlatSpecLike

Inherited from Documenting

Inherited from Alerting

Inherited from Notifying

Inherited from Informing

Inherited from CanVerb

Inherited from MustVerb

Inherited from ShouldVerb

Inherited from TestRegistration

Inherited from TestSuite

Inherited from Suite

Inherited from Serializable

Inherited from Serializable

Inherited from Assertions

Inherited from TripleEquals

Inherited from TripleEqualsSupport

Inherited from AnyRef

Inherited from Any

Ungrouped