title: Spark unit tests (in intellij)
body: <p>I have some Spark unit tests in my intellij project. When I launch them one by one (file by file) everything is OK. When I want to test all the package, I have got : </p>
  
  <blockquote>
    <p>An exception or error caused a run to abort: Only one SparkContext may be running in this JVM (see SPARK-2243). To ignore this error, set spark.driver.allowMultipleContexts = true.</p>
  </blockquote>
  
  <p>I have read that setting spark.driver.allowMultipleContexts to true is dangerous :-/</p>
  
  <p>Is there a way to tell intellij to run tests one by one.</p>