Testing
Use etl4s with the testing framework of your choice
Run nodes like normal functions
You will get:
Run pipelines with unsafeRun or safeRun:
import etl4s._
val plus2: Transform[Int, Int] = Transform(_ + 2)
val times5: Transform[Int, Int] = Transform(_ * 5)
val p: Pipeline[Int, Int] = plus2 ~> times5
p.unsafeRun(2)
safeRun as below
You will get a response wrapped in a scala.util.Try
Testing with Traces¶
For testing with execution insights, see the Pipeline Tracing section. You can test traced execution and cross-node communication: