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)
    }
  }
}
Source
PipelineSpec.scala
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(job: (ScioContext) => Any): Builder
    Definition Classes
    RunEnforcementJobTest
  15. def JobTest(className: String): Builder
    Definition Classes
    RunEnforcementJobTest
  16. def JobTest[T](implicit arg0: ClassTag[T]): Builder
    Definition Classes
    RunEnforcementJobTest
  17. def a[T](implicit arg0: ClassTag[T]): ResultOfATypeInvocation[T]
    Definition Classes
    Matchers
  18. val a: AWord
    Definition Classes
    Matchers
  19. val after: TheAfterWord
    Definition Classes
    Explicitly
  20. def alert: Alerter
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike → Alerting
  21. def all(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  22. 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
  23. 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
  24. def all[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  25. def allElementsOf[R](elements: GenTraversable[R]): ResultOfAllElementsOfApplication
    Definition Classes
    Matchers
  26. def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAllOfApplication
    Definition Classes
    Matchers
  27. def an[T](implicit arg0: ClassTag[T]): ResultOfAnTypeInvocation[T]
    Definition Classes
    Matchers
  28. val an: AnWord
    Definition Classes
    Matchers
  29. implicit def arrayEq[T](implicit eqT: Eq[T]): Eq[Array[T]]
    Definition Classes
    EqInstances
  30. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  31. macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  32. macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  33. macro def assertCompiles(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  34. macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  35. def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  36. def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  37. def assertThrows[T <: AnyRef](f: => Any)(implicit classTag: ClassTag[T], pos: Position): Assertion
    Definition Classes
    Assertions
  38. macro def assertTypeError(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  39. macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  40. macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  41. def atLeast(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  42. 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
  43. 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
  44. def atLeast[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  45. def atLeastOneElementOf(elements: GenTraversable[Any]): ResultOfAtLeastOneElementOfApplication
    Definition Classes
    Matchers
  46. def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtLeastOneOfApplication
    Definition Classes
    Matchers
  47. def atMost(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  48. 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
  49. 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
  50. def atMost[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  51. def atMostOneElementOf[R](elements: GenTraversable[R]): ResultOfAtMostOneElementOfApplication
    Definition Classes
    Matchers
  52. def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtMostOneOfApplication
    Definition Classes
    Matchers
  53. val be: BeWord
    Definition Classes
    MatcherWords
  54. val beEmpty: IterableMatcher[SCollection[_], Any]

    Assert that the SCollection in question is empty.

    Assert that the SCollection in question is empty.

    Definition Classes
    SCollectionMatchers
  55. implicit def beamOptions: BeamOptions
  56. val behave: BehaveWord
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  57. val behavior: BehaviorWord
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  58. def between(from: Int, upTo: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  59. 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
  60. 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
  61. def cancel(cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  62. def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  63. def cancel(message: String)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  64. def cancel()(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  65. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  66. val compile: CompileWord
    Definition Classes
    MatcherWords
  67. val contain: ContainWord
    Definition Classes
    MatcherWords
  68. 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
  69. 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
  70. 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
  71. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  72. def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  73. implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]
    Definition Classes
    Tolerance
  74. implicit def convertSymbolToHavePropertyMatcherGenerator(symbol: Symbol)(implicit prettifier: Prettifier, pos: Position): HavePropertyMatcherGenerator
    Definition Classes
    Matchers
  75. implicit def convertToAnyShouldWrapper[T](o: T)(implicit pos: Position, prettifier: Prettifier): AnyShouldWrapper[T]
    Definition Classes
    Matchers
  76. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  77. implicit def convertToEqualizer[T](left: T): Equalizer[T]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  78. implicit def convertToInAndIgnoreMethods(resultOfStringPassedToVerb: ResultOfStringPassedToVerb): InAndIgnoreMethods
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  79. implicit def convertToInAndIgnoreMethodsAfterTaggedAs(resultOfTaggedAsInvocation: ResultOfTaggedAsInvocation): InAndIgnoreMethodsAfterTaggedAs
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  80. implicit def convertToRegexWrapper(o: Regex): RegexWrapper
    Definition Classes
    Matchers
  81. implicit def convertToStringCanWrapper(o: String)(implicit position: Position): StringCanWrapperForVerb
    Definition Classes
    CanVerb
  82. implicit def convertToStringMustWrapperForVerb(o: String)(implicit position: Position): StringMustWrapperForVerb
    Definition Classes
    MustVerb
  83. implicit def convertToStringShouldWrapper(o: String)(implicit pos: Position, prettifier: Prettifier): StringShouldWrapper
    Definition Classes
    Matchers
  84. implicit def convertToStringShouldWrapperForVerb(o: String)(implicit position: Position): StringShouldWrapperForVerb
    Definition Classes
    ShouldVerb
  85. val decided: DecidedWord
    Definition Classes
    Explicitly
  86. def defaultEquality[A]: Equality[A]
    Definition Classes
    TripleEqualsSupport
  87. val defined: DefinedWord
    Definition Classes
    MatcherWords
  88. def definedAt[T](right: T): ResultOfDefinedAt[T]
    Definition Classes
    Matchers
  89. val determined: DeterminedWord
    Definition Classes
    Explicitly
  90. val empty: EmptyWord
    Definition Classes
    MatcherWords
  91. val endWith: EndWithWord
    Definition Classes
    MatcherWords
  92. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  93. def equal(o: Null): Matcher[AnyRef]
    Definition Classes
    Matchers
  94. def equal[T](spread: Spread[T]): Matcher[T]
    Definition Classes
    Matchers
  95. def equal(right: Any): MatcherFactory1[Any, Equality]
    Definition Classes
    MatcherWords
  96. 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
  97. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  98. def every(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  99. 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
  100. 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
  101. def every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  102. def exactly(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]
    Definition Classes
    Matchers
  103. 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
  104. 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
  105. def exactly[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]
    Definition Classes
    Matchers
  106. final def execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit
    Definition Classes
    Suite
  107. 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
  108. val exist: ExistWord
    Definition Classes
    MatcherWords
  109. def expectedTestCount(filter: Filter): Int
    Definition Classes
    Suite
  110. def fail(cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  111. def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  112. def fail(message: String)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  113. def fail()(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  114. implicit def fallbackEq[A]: Eq[A]
    Definition Classes
    FallbackEqInstances
  115. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  116. 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
  117. val fullyMatch: FullyMatchWord
    Definition Classes
    MatcherWords
  118. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  119. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  120. val have: HaveWord
    Definition Classes
    MatcherWords
  121. 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
  122. val ignore: IgnoreWord
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  123. def inCombinedNonLatePanes[T, B](window: BoundedWindow)(matcher: IterableMatcher[T, 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
  124. def inEarlyGlobalWindowPanes[T, B](matcher: IterableMatcher[T, B]): Matcher[T]

    SCollection assertion only applied to early timing global window.

    SCollection assertion only applied to early timing global window.

    Definition Classes
    SCollectionMatchers
  125. def inEarlyPane[T](window: BoundedWindow)(matcher: MatcherBuilder[T]): Matcher[T]

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

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

    Definition Classes
    SCollectionMatchers
  126. def inFinalPane[T, B](window: BoundedWindow)(matcher: MatcherBuilder[T]): 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
  127. def inLatePane[T, B](window: BoundedWindow)(matcher: MatcherBuilder[T]): 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
  128. def inOnTimePane[T](window: BoundedWindow)(matcher: MatcherBuilder[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
  129. def inOnlyPane[T, B](window: BoundedWindow)(matcher: SingleMatcher[T, 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
  130. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderApplication
    Definition Classes
    Matchers
  131. def inOrderElementsOf[R](elements: GenTraversable[R]): ResultOfInOrderElementsOfApplication
    Definition Classes
    Matchers
  132. def inOrderOnly[T](firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderOnlyApplication
    Definition Classes
    Matchers
  133. def inWindow[T, B](window: BoundedWindow)(matcher: IterableMatcher[T, B]): Matcher[T]

    SCollection assertion only applied to the specified window.

    SCollection assertion only applied to the specified window.

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

    Test pipeline components with in-memory data.

    Test pipeline components with in-memory data.

    Input data is passed to fn as SCollection s 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
  174. 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]): Seq[U]

    Test pipeline components with in-memory data.

    Test pipeline components with in-memory data.

    Input data is passed to fn as SCollection s 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
  175. 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]): Seq[U]

    Test pipeline components with in-memory data.

    Test pipeline components with in-memory data.

    Input data is passed to fn as SCollection s 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
  176. def runWithData[T, U](data: Iterable[T])(fn: (SCollection[T]) => SCollection[U])(implicit arg0: Coder[T]): 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
  177. def runWithLocalOutput[T, U](fn: (ScioContext) => (SCollection[T], SCollection[U])): (ScioResult, Seq[T], Seq[U])

    Test pipeline components with a ScioContext and materialized resulting collections.

    Test pipeline components with a ScioContext and materialized resulting collections.

    fn

    transform to be tested

    returns

    a tuple containing the ScioResult and the materialized results of the SCollections returned by fn as Seqs

    Definition Classes
    PipelineTestUtils
  178. def runWithLocalOutput[U](fn: (ScioContext) => SCollection[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
  179. def runWithOutput[T](fn: (ScioContext) => ClosedTap[T]): (ScioResult, Tap[T])

    Test pipeline components with a ScioContext and access to the output's tap.

    Test pipeline components with a ScioContext and access to the output's tap.

    fn

    transform to be tested

    returns

    a tuple containing the ScioResult and the Tap to read back data written by the tested pipeline

    Definition Classes
    PipelineTestUtils
  180. def runWithOverrides(overrides: PTransformOverride*)(fn: (ScioContext) => Any): ScioExecutionContext

    Test pipeline components with a ScioContext and replace transforms with the provided override.

    Test pipeline components with a ScioContext and replace transforms with the provided override.

    fn

    code that tests the components and verifies the result

    runWithOverrides(TransformOverride.of("operation", (v: Int) => v.toString)) { sc =>
      val result = sc.parallelize(Seq(1, 2, 3))
        .withName("operation")
        .map(operationFn)
      result should contain theSameElementAs("1", "2", "3")
    }
    Definition Classes
    PipelineTestUtils
  181. def runWithRealContext(options: PipelineOptions = PipelineOptionsFactory.create())(fn: (ScioContext) => Any): ScioExecutionContext
    Definition Classes
    PipelineTestUtils
  182. 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
  183. 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
  184. implicit val shorthandSharedTestRegistrationFunction: StringVerbBehaveLikeInvocation
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  185. implicit val shorthandTestRegistrationFunction: StringVerbStringInvocation
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  186. val size: SizeWord
    Definition Classes
    MatcherWords
  187. val sorted: SortedWord
    Definition Classes
    MatcherWords
  188. val startWith: StartWithWord
    Definition Classes
    MatcherWords
  189. final val succeed: Assertion
    Definition Classes
    Assertions
  190. def suiteId: String
    Definition Classes
    Suite
  191. def suiteName: String
    Definition Classes
    Suite
  192. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  193. def tags: Map[String, Set[String]]
    Definition Classes
    AnyFlatSpecLike → Suite
  194. def testDataFor(testName: String, theConfigMap: ConfigMap): TestData
    Definition Classes
    AnyFlatSpecLike → Suite
  195. def testNames: Set[String]
    Definition Classes
    AnyFlatSpecLike → Suite
  196. def the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]
    Definition Classes
    Matchers
  197. def theSameElementsAs(xs: GenTraversable[_]): ResultOfTheSameElementsAsApplication
    Definition Classes
    Matchers
  198. def theSameElementsInOrderAs(xs: GenTraversable[_]): ResultOfTheSameElementsInOrderAsApplication
    Definition Classes
    Matchers
  199. val theSameInstanceAs: TheSameInstanceAsPhrase
    Definition Classes
    Matchers
  200. val they: TheyWord
    Attributes
    protected
    Definition Classes
    AnyFlatSpecLike
  201. def thrownBy(fun: => Any): ResultOfThrownByApplication
    Definition Classes
    Matchers
  202. def toString(): String
    Definition Classes
    AnyFlatSpec → AnyRef → Any
  203. val typeCheck: TypeCheckWord
    Definition Classes
    MatcherWords
  204. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  205. implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  206. val value: ValueWord
    Definition Classes
    Matchers
  207. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  208. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  209. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  210. def withClue[T](clue: Any)(fun: => T): T
    Definition Classes
    Assertions
  211. def withFixture(test: NoArgTest): Outcome
    Attributes
    protected
    Definition Classes
    RunEnforcementJobTest → TestSuite
  212. 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