Trait that creates a temporary directory before all tests and deletes it after all.
Trait with test commons such as Spec and Resource functions
Trait to enable Spark context for tests Modified version of Spark 2.x test suite trait
Trait to enable Spark streaming context for tests
Convenient matchers for spark functionality.
Convenient matchers for spark functionality.
Examples of usage:
in(myDF) allOf "MyNumericColumn" should beBetween(-1, 1) in(myDF) someOf "MyStringColumn" should ( (x: String) => (x contains "Country") || (x contains "State") ) in(myDF) noneOf "UserName" shouldContain "Snowden"
Trait that creates a temporary directory before all tests and deletes it after all. Modified version of Spark 2.x test suite trait