Test pipeline components with a ScioContext.
Test pipeline components with a ScioContext.
code that tests the components and verifies the result
runWithContext { sc => sc.parallelize(Seq(1, 2, 3)).sum should containSingleValue (6) }
Test pipeline components with in-memory data.
Test pipeline components with in-memory data.
input data
input data
input data
input data
code that tests the components by feeding input and extracting output
output data
Test pipeline components with in-memory data.
Test pipeline components with in-memory data.
input data
input data
input data
code that tests the components by feeding input and extracting output
output data
Test pipeline components with in-memory data.
Test pipeline components with in-memory data.
input data
input data
code that tests the components by feeding input and extracting output
output data
Test pipeline components with in-memory data.
Test pipeline components with in-memory data.
input data
code that tests the components by feeding input and extracting output
output data
runWithData(Seq(1, 2, 3)) { p => p.sum } should equal (Seq(6))
This method has been deprecated in favor of macro assertion and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.
This method has been deprecated in favor of macro assertion and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.
This method has been deprecated in favor of macro assumption and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.
This method has been deprecated in favor of macro assumption and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.
Please use 'an [Exception] should be thrownBy { ... }' syntax instead
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of assertResult instead.
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of assertResult instead.
This expectResult method has been deprecated. Please replace all invocations of expectResult with an identical invocation of assertResult instead.
This expectResult method has been deprecated. Please replace all invocations of expectResult with an identical invocation of assertResult instead.
Trait for unit testing pipelines.