t

com.spotify.scio.testing

PipelineSpec

trait PipelineSpec extends AnyFlatSpec 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)
    }
  }
}
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PipelineSpec
  2. RunEnforcementJobTest
  3. PipelineTestUtils
  4. SCollectionMatchers
  5. EqInstances
  6. FallbackEqInstances
  7. Matchers
  8. Explicitly
  9. MatcherWords
  10. Tolerance
  11. AnyFlatSpec
  12. AnyFlatSpecLike
  13. Documenting
  14. Alerting
  15. Notifying
  16. Informing
  17. CanVerb
  18. MustVerb
  19. ShouldVerb
  20. TestRegistration
  21. TestSuite
  22. Suite
  23. Serializable
  24. Assertions
  25. TripleEquals
  26. TripleEqualsSupport
  27. AnyRef
  28. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final class AWord extends AnyRef
    Definition Classes
    Matchers
  2. final class AnWord extends AnyRef
    Definition Classes
    Matchers
  3. sealed class AnyShouldWrapper[T] extends AnyRef
    Definition Classes
    Matchers
  4. final class BehaviorWord extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  5. class CheckingEqualizer[L] extends AnyRef
    Definition Classes
    TripleEqualsSupport
  6. sealed class Collected extends Serializable
    Attributes
    protected
    Definition Classes
    Matchers
  7. class DecidedByEquality[A] extends Equality[A]
    Definition Classes
    Explicitly
  8. class DecidedWord extends AnyRef
    Definition Classes
    Explicitly
  9. class DeterminedByEquivalence[T] extends Equivalence[T]
    Definition Classes
    Explicitly
  10. class DeterminedWord extends AnyRef
    Definition Classes
    Explicitly
  11. class Equalizer[L] extends AnyRef
    Definition Classes
    TripleEqualsSupport
  12. final class HavePropertyMatcherGenerator extends AnyRef
    Definition Classes
    Matchers
  13. final class IgnoreVerbString extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  14. final class IgnoreVerbStringTaggedAs extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  15. final class IgnoreWord extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  16. final class InAndIgnoreMethods extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  17. final class InAndIgnoreMethodsAfterTaggedAs extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  18. final class ItVerbString extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  19. final class ItVerbStringTaggedAs extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  20. final class ItWord extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  21. final class KeyWord extends AnyRef
    Definition Classes
    Matchers
  22. trait NoArgTest extends () => Outcome with TestData
    Attributes
    protected
    Definition Classes
    TestSuite
  23. final class PlusOrMinusWrapper[T] extends AnyRef
    Definition Classes
    Tolerance
  24. final class RegexWord extends AnyRef
    Definition Classes
    Matchers
  25. final class RegexWrapper extends AnyRef
    Definition Classes
    Matchers
  26. class ResultOfBeWordForAny[T] extends AnyRef
    Definition Classes
    Matchers
  27. sealed class ResultOfBeWordForCollectedAny[T] extends AnyRef
    Definition Classes
    Matchers
  28. final class ResultOfBeWordForCollectedArray[T] extends ResultOfBeWordForCollectedAny[Array[T]]
    Definition Classes
    Matchers
  29. final class ResultOfCollectedAny[T] extends AnyRef
    Definition Classes
    Matchers
  30. final class ResultOfContainWordForCollectedAny[T] extends AnyRef
    Definition Classes
    Matchers
  31. final class ResultOfEndWithWordForCollectedString extends AnyRef
    Definition Classes
    Matchers
  32. final class ResultOfEndWithWordForString extends AnyRef
    Definition Classes
    Matchers
  33. final class ResultOfFullyMatchWordForCollectedString extends AnyRef
    Definition Classes
    Matchers
  34. final class ResultOfFullyMatchWordForString extends AnyRef
    Definition Classes
    Matchers
  35. final class ResultOfHaveWordForCollectedExtent[A] extends AnyRef
    Definition Classes
    Matchers
  36. final class ResultOfHaveWordForExtent[A] extends AnyRef
    Definition Classes
    Matchers
  37. final class ResultOfIncludeWordForCollectedString extends AnyRef
    Definition Classes
    Matchers
  38. final class ResultOfIncludeWordForString extends AnyRef
    Definition Classes
    Matchers
  39. final class ResultOfNotWordForCollectedAny[T] extends AnyRef
    Definition Classes
    Matchers
  40. final class ResultOfStartWithWordForCollectedString extends AnyRef
    Definition Classes
    Matchers
  41. final class ResultOfStartWithWordForString extends AnyRef
    Definition Classes
    Matchers
  42. trait StringCanWrapperForVerb extends AnyRef
    Definition Classes
    CanVerb
  43. trait StringMustWrapperForVerb extends AnyRef
    Definition Classes
    MustVerb
  44. final class StringShouldWrapper extends AnyShouldWrapper[String] with org.scalatest.matchers.should.Matchers.StringShouldWrapperForVerb
    Definition Classes
    Matchers
  45. trait StringShouldWrapperForVerb extends AnyRef
    Definition Classes
    ShouldVerb
  46. class TheAfterWord extends AnyRef
    Definition Classes
    Explicitly
  47. final class TheSameInstanceAsPhrase extends AnyRef
    Definition Classes
    Matchers
  48. final class TheyVerbString extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  49. final class TheyVerbStringTaggedAs extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  50. final class TheyWord extends AnyRef
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  51. final class ValueWord extends AnyRef
    Definition Classes
    Matchers
  52. sealed trait IterableMatcher[T, B] extends MatcherBuilder[T] with Matcher[T]
    Definition Classes
    SCollectionMatchers
  53. sealed trait MatcherBuilder[T] extends AnyRef
    Definition Classes
    SCollectionMatchers
  54. sealed trait SingleMatcher[T, B] extends MatcherBuilder[T] with Matcher[T]
    Definition Classes
    SCollectionMatchers

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
    Definition Classes
    TripleEqualsSupport
  3. def !==(right: Null): TripleEqualsInvocation[Null]
    Definition Classes
    TripleEqualsSupport
  4. def !==[T](right: T): TripleEqualsInvocation[T]
    Definition Classes
    TripleEqualsSupport
  5. final def ##: Int
    Definition Classes
    AnyRef → Any
  6. def <[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanComparison[T]
    Definition Classes
    Matchers
  7. def <=[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanOrEqualToComparison[T]
    Definition Classes
    Matchers
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
    Definition Classes
    TripleEqualsSupport
  10. def ===(right: Null): TripleEqualsInvocation[Null]
    Definition Classes
    TripleEqualsSupport
  11. def ===[T](right: T): TripleEqualsInvocation[T]
    Definition Classes
    TripleEqualsSupport
  12. def >[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanComparison[T]
    Definition Classes
    Matchers
  13. def >=[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanOrEqualToComparison[T]
    Definition Classes
    Matchers
  14. def JobTest(className: String): Builder
    Definition Classes
    RunEnforcementJobTest
  15. def JobTest[T](implicit arg0: ClassTag[T]): Builder
    Definition Classes
    RunEnforcementJobTest
  16. def a[T](implicit arg0: ClassTag[T]): ResultOfATypeInvocation[T]
    Definition Classes
    Matchers
  17. val a: AWord
    Definition Classes
    Matchers
  18. val after: TheAfterWord
    Definition Classes
    Explicitly
  19. def alert: Alerter
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike → Alerting
  20. def all(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    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]]
    Definition Classes
    Matchers
  22. def all[K, V, MAP[k, v] <: GenMap[k, v]](xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
    Definition Classes
    Matchers
  23. def all[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  24. def allElementsOf[R](elements: GenTraversable[R]): ResultOfAllElementsOfApplication
    Definition Classes
    Matchers
  25. def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAllOfApplication
    Definition Classes
    Matchers
  26. def an[T](implicit arg0: ClassTag[T]): ResultOfAnTypeInvocation[T]
    Definition Classes
    Matchers
  27. val an: AnWord
    Definition Classes
    Matchers
  28. implicit def arrayEq[T](implicit eqT: Eq[T]): Eq[Array[T]]
    Definition Classes
    EqInstances
  29. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  30. macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  31. macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  32. macro def assertCompiles(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  33. macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  34. def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  35. def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  36. def assertThrows[T <: AnyRef](f: => Any)(implicit classTag: ClassTag[T], pos: Position): Assertion
    Definition Classes
    Assertions
  37. macro def assertTypeError(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  38. macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  39. macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  40. def atLeast(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  41. 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
    Matchers
  42. def atLeast[K, V, MAP[k, v] <: GenMap[k, v]](num: Int, xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
    Definition Classes
    Matchers
  43. def atLeast[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  44. def atLeastOneElementOf(elements: GenTraversable[Any]): ResultOfAtLeastOneElementOfApplication
    Definition Classes
    Matchers
  45. def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtLeastOneOfApplication
    Definition Classes
    Matchers
  46. def atMost(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  47. 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
    Matchers
  48. def atMost[K, V, MAP[k, v] <: GenMap[k, v]](num: Int, xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
    Definition Classes
    Matchers
  49. def atMost[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  50. def atMostOneElementOf[R](elements: GenTraversable[R]): ResultOfAtMostOneElementOfApplication
    Definition Classes
    Matchers
  51. def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtMostOneOfApplication
    Definition Classes
    Matchers
  52. val be: BeWord
    Definition Classes
    MatcherWords
  53. val beEmpty: IterableMatcher[SCollection[_], Any]

    Assert that the SCollection in question is empty.

    Assert that the SCollection in question is empty.

    Definition Classes
    SCollectionMatchers
  54. implicit def beamOptions: BeamOptions
  55. val behave: BehaveWord
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  56. val behavior: BehaviorWord
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  57. def between(from: Int, upTo: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  58. 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
    Matchers
  59. 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
    Matchers
  60. def cancel(cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  61. def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  62. def cancel(message: String)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  63. def cancel()(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  64. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  65. val compile: CompileWord
    Definition Classes
    MatcherWords
  66. val contain: ContainWord
    Definition Classes
    MatcherWords
  67. def containInAnyOrder[T](value: Iterable[T])(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    Assert that the SCollection in question contains the provided elements.

    Assert that the SCollection in question contains the provided elements.

    Definition Classes
    SCollectionMatchers
  68. def containSingleValue[T](value: T)(implicit arg0: Coder[T], arg1: Eq[T]): SingleMatcher[SCollection[T], T]

    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
  69. def containValue[T](value: T)(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    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
  70. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  71. def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  72. implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]
    Definition Classes
    Tolerance
  73. implicit def convertSymbolToHavePropertyMatcherGenerator(symbol: Symbol)(implicit prettifier: Prettifier, pos: Position): HavePropertyMatcherGenerator
    Definition Classes
    Matchers
  74. implicit def convertToAnyShouldWrapper[T](o: T)(implicit pos: Position, prettifier: Prettifier): AnyShouldWrapper[T]
    Definition Classes
    Matchers
  75. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  76. implicit def convertToEqualizer[T](left: T): Equalizer[T]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  77. implicit def convertToInAndIgnoreMethods(resultOfStringPassedToVerb: ResultOfStringPassedToVerb): InAndIgnoreMethods
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  78. implicit def convertToInAndIgnoreMethodsAfterTaggedAs(resultOfTaggedAsInvocation: ResultOfTaggedAsInvocation): InAndIgnoreMethodsAfterTaggedAs
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  79. implicit def convertToRegexWrapper(o: Regex): RegexWrapper
    Definition Classes
    Matchers
  80. implicit def convertToStringCanWrapper(o: String)(implicit position: Position): StringCanWrapperForVerb
    Definition Classes
    CanVerb
  81. implicit def convertToStringMustWrapperForVerb(o: String)(implicit position: Position): StringMustWrapperForVerb
    Definition Classes
    MustVerb
  82. implicit def convertToStringShouldWrapper(o: String)(implicit pos: Position, prettifier: Prettifier): StringShouldWrapper
    Definition Classes
    Matchers
  83. implicit def convertToStringShouldWrapperForVerb(o: String)(implicit position: Position): StringShouldWrapperForVerb
    Definition Classes
    ShouldVerb
  84. val decided: DecidedWord
    Definition Classes
    Explicitly
  85. def defaultEquality[A]: Equality[A]
    Definition Classes
    TripleEqualsSupport
  86. val defined: DefinedWord
    Definition Classes
    MatcherWords
  87. def definedAt[T](right: T): ResultOfDefinedAt[T]
    Definition Classes
    Matchers
  88. val determined: DeterminedWord
    Definition Classes
    Explicitly
  89. val empty: EmptyWord
    Definition Classes
    MatcherWords
  90. val endWith: EndWithWord
    Definition Classes
    MatcherWords
  91. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  92. def equal(o: Null): Matcher[AnyRef]
    Definition Classes
    Matchers
  93. def equal[T](spread: Spread[T]): Matcher[T]
    Definition Classes
    Matchers
  94. def equal(right: Any): MatcherFactory1[Any, Equality]
    Definition Classes
    MatcherWords
  95. def equalMapOf[K, V](value: Map[K, V])(implicit arg0: Coder[K], arg1: Coder[V]): SingleMatcher[SCollection[(K, V)], Map[K, V]]

    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
  96. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  97. def every(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  98. 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
    Matchers
  99. def every[K, V, MAP[k, v] <: Map[k, v]](xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
    Definition Classes
    Matchers
  100. def every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  101. def exactly(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  102. 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
    Matchers
  103. def exactly[K, V, MAP[k, v] <: GenMap[k, v]](num: Int, xs: MAP[K, V])(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[(K, V)]
    Definition Classes
    Matchers
  104. def exactly[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  105. final def execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit
    Definition Classes
    Suite
  106. def exist[T](predicate: (T) => Boolean)(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    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
  107. val exist: ExistWord
    Definition Classes
    MatcherWords
  108. def expectedTestCount(filter: Filter): Int
    Definition Classes
    Suite
  109. def fail(cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  110. def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  111. def fail(message: String)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  112. def fail()(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  113. implicit def fallbackEq[A]: Eq[A]
    Definition Classes
    FallbackEqInstances
  114. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  115. def forAll[T](predicate: (T) => Boolean)(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    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
  116. val fullyMatch: FullyMatchWord
    Definition Classes
    MatcherWords
  117. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  118. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  119. val have: HaveWord
    Definition Classes
    MatcherWords
  120. def haveSize(size: Int): IterableMatcher[SCollection[_], Any]

    Assert that the SCollection in question has provided size.

    Assert that the SCollection in question has provided size.

    Definition Classes
    SCollectionMatchers
  121. val ignore: IgnoreWord
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  122. def inCombinedNonLatePanes[T, B](window: BoundedWindow)(matcher: IterableMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    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
  123. def inEarlyGlobalWindowPanes[T, B](matcher: IterableMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    SCollection assertion only applied to early timing global window.

    SCollection assertion only applied to early timing global window.

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

    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
  125. def inLatePane[T, B](window: BoundedWindow)(matcher: MatcherBuilder[T])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

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

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

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

    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
  127. def inOnlyPane[T, B](window: BoundedWindow)(matcher: SingleMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    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
  128. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderApplication
    Definition Classes
    Matchers
  129. def inOrderElementsOf[R](elements: GenTraversable[R]): ResultOfInOrderElementsOfApplication
    Definition Classes
    Matchers
  130. def inOrderOnly[T](firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderOnlyApplication
    Definition Classes
    Matchers
  131. def inWindow[T, B](window: BoundedWindow)(matcher: IterableMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    SCollection assertion only applied to the specified window.

    SCollection assertion only applied to the specified window.

    Definition Classes
    SCollectionMatchers
  132. val include: IncludeWord
    Definition Classes
    MatcherWords
  133. def info: Informer
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike → Informing
  134. def intercept[T <: AnyRef](f: => Any)(implicit classTag: ClassTag[T], pos: Position): T
    Definition Classes
    Assertions
  135. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  136. val it: ItWord
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  137. val key: KeyWord
    Definition Classes
    Matchers
  138. val length: LengthWord
    Definition Classes
    MatcherWords
  139. def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  140. def markup: Documenter
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike → Documenting
  141. val matchPattern: MatchPatternWord
    Definition Classes
    MatcherWords
  142. def message(expectedMessage: String): ResultOfMessageWordApplication
    Definition Classes
    Matchers
  143. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  144. def nestedSuites: IndexedSeq[Suite]
    Definition Classes
    Suite
  145. def no(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  146. 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
    Matchers
  147. def no[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  148. def noElementsOf(elements: GenTraversable[Any]): ResultOfNoElementsOfApplication
    Definition Classes
    Matchers
  149. def noException(implicit pos: Position): NoExceptionWord
    Definition Classes
    MatcherWords
  150. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfNoneOfApplication
    Definition Classes
    Matchers
  151. val not: NotWord
    Definition Classes
    MatcherWords
  152. def note: Notifier
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike → Notifying
  153. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  154. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  155. def of[T](implicit ev: ClassTag[T]): ResultOfOfTypeInvocation[T]
    Definition Classes
    Matchers
  156. def oneElementOf(elements: GenTraversable[Any]): ResultOfOneElementOfApplication
    Definition Classes
    Matchers
  157. def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfOneOfApplication
    Definition Classes
    Matchers
  158. def only(xs: Any*)(implicit pos: Position): ResultOfOnlyApplication
    Definition Classes
    Matchers
  159. def pending: Assertion with PendingStatement
    Definition Classes
    Assertions
  160. def pendingUntilFixed(f: => Unit)(implicit pos: Position): Assertion with PendingStatement
    Definition Classes
    Assertions
  161. val readable: ReadableWord
    Definition Classes
    MatcherWords
  162. val regex: RegexWord
    Definition Classes
    Matchers
  163. final def registerIgnoredTest(testText: String, testTags: Tag*)(testFun: => Any)(implicit pos: Position): Unit
    Definition Classes
    AnyFlatSpecLike → TestRegistration
  164. final def registerTest(testText: String, testTags: Tag*)(testFun: => Any)(implicit pos: Position): Unit
    Definition Classes
    AnyFlatSpecLike → TestRegistration
  165. def rerunner: Option[String]
    Definition Classes
    Suite
  166. def run(testName: Option[String], args: org.scalatest.Args): Status
    Definition Classes
    PipelineSpec → AnyFlatSpecLike → Suite
  167. def runNestedSuites(args: org.scalatest.Args): Status
    Attributes
    protected
    Definition Classes
    Suite
  168. def runTest(testName: String, args: org.scalatest.Args): Status
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike → TestSuite → Suite
  169. def runTests(testName: Option[String], args: org.scalatest.Args): Status
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike → Suite
  170. def runWithContext[T](fn: (ScioContext) => T): ScioExecutionContext

    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
  171. 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: Coder[T1], arg1: Coder[T2], arg2: Coder[T3], arg3: Coder[T4], arg4: Coder[U]): Seq[U]

    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
  172. 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: Coder[T1], arg1: Coder[T2], arg2: Coder[T3], arg3: Coder[U]): Seq[U]

    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
  173. def runWithData[T1, T2, U](data1: Iterable[T1], data2: Iterable[T2])(fn: (SCollection[T1], SCollection[T2]) => SCollection[U])(implicit arg0: Coder[T1], arg1: Coder[T2], arg2: Coder[U]): Seq[U]

    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
  174. def runWithData[T, U](data: Iterable[T])(fn: (SCollection[T]) => SCollection[U])(implicit arg0: Coder[T], arg1: Coder[U]): Seq[U]

    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
  175. def runWithLocalOutput[U](fn: (ScioContext) => SCollection[U])(implicit arg0: Coder[U]): (ScioResult, Seq[U])

    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
  176. def runWithRealContext[T](options: PipelineOptions)(fn: (ScioContext) => T): ScioExecutionContext
    Definition Classes
    PipelineTestUtils
  177. def satisfy[T](predicate: (Iterable[T]) => Boolean)(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    Assert that the SCollection in question satisfies the provided function.

    Assert that the SCollection in question satisfies the provided function.

    Definition Classes
    SCollectionMatchers
  178. def satisfySingleValue[T](predicate: (T) => Boolean)(implicit arg0: Coder[T], arg1: Eq[T]): SingleMatcher[SCollection[T], T]

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

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

    Definition Classes
    SCollectionMatchers
  179. implicit val shorthandSharedTestRegistrationFunction: StringVerbBehaveLikeInvocation
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  180. implicit val shorthandTestRegistrationFunction: StringVerbStringInvocation
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  181. val size: SizeWord
    Definition Classes
    MatcherWords
  182. val sorted: SortedWord
    Definition Classes
    MatcherWords
  183. val startWith: StartWithWord
    Definition Classes
    MatcherWords
  184. final val succeed: Assertion
    Definition Classes
    Assertions
  185. def suiteId: String
    Definition Classes
    Suite
  186. def suiteName: String
    Definition Classes
    Suite
  187. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  188. def tags: Map[String, Set[String]]
    Definition Classes
    AnyFlatSpecLike → Suite
  189. def testDataFor(testName: String, theConfigMap: ConfigMap): TestData
    Definition Classes
    AnyFlatSpecLike → Suite
  190. def testNames: Set[String]
    Definition Classes
    AnyFlatSpecLike → Suite
  191. def the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]
    Definition Classes
    Matchers
  192. def theSameElementsAs(xs: GenTraversable[_]): ResultOfTheSameElementsAsApplication
    Definition Classes
    Matchers
  193. def theSameElementsInOrderAs(xs: GenTraversable[_]): ResultOfTheSameElementsInOrderAsApplication
    Definition Classes
    Matchers
  194. val theSameInstanceAs: TheSameInstanceAsPhrase
    Definition Classes
    Matchers
  195. val they: TheyWord
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  196. def thrownBy(fun: => Any): ResultOfThrownByApplication
    Definition Classes
    Matchers
  197. def toString(): String
    Definition Classes
    AnyFlatSpec → AnyRef → Any
  198. val typeCheck: TypeCheckWord
    Definition Classes
    MatcherWords
  199. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  200. implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  201. val value: ValueWord
    Definition Classes
    Matchers
  202. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  203. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  204. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  205. def withClue[T](clue: Any)(fun: => T): T
    Definition Classes
    Assertions
  206. def withFixture(test: NoArgTest): Outcome
    Attributes
    protected
    Definition Classes
    RunEnforcementJobTest → TestSuite
  207. val writable: WritableWord
    Definition Classes
    MatcherWords

Deprecated Value Members

  1. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) => A): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The conversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.

  2. def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) => B): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The convertEquivalenceToAToBConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.

  3. def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) => A): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The convertEquivalenceToBToAConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.

  4. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) => B): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The lowPriorityConversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.

  5. final val styleName: String
    Definition Classes
    AnyFlatSpecLike → Suite
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.

Inherited from RunEnforcementJobTest

Inherited from PipelineTestUtils

Inherited from SCollectionMatchers

Inherited from EqInstances

Inherited from FallbackEqInstances

Inherited from Matchers

Inherited from Explicitly

Inherited from MatcherWords

Inherited from Tolerance

Inherited from AnyFlatSpec

Inherited from AnyFlatSpecLike

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 Assertions

Inherited from TripleEquals

Inherited from TripleEqualsSupport

Inherited from AnyRef

Inherited from Any

Ungrouped