(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.
Setup work to be called when creating a new SparkContext.
Setup work to be called when creating a new SparkContext. Default implementation currently sets a checkpoint directory.
This _should_ be called by the context provider automatically.
(Since version ) see corresponding Javadoc for more information.
Provides a local
sc
SparkContext
variable, correctly stopping it after each test. The stopping logic is provided inLocalSparkContext
.