I am trying to write unit test for spark code. I know we can install Spark and then use SparkConf and SparkContext to write tests.
However, I wanted to check if there is any way we can write unit tests without installing Spark as my client don't want to install Spark on Jenkins server, where we intend to run our tests as part of automated process.