[ 
https://issues.apache.org/jira/browse/SPARK-22308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211228#comment-16211228
 ] 

Sean Owen commented on SPARK-22308:
-----------------------------------

There are purpose-built Spark testing frameworks that seem built for what 
you're doing like 
https://blog.cloudera.com/blog/2015/09/making-apache-spark-testing-easy-with-spark-testing-base/
  Spark's internal tests are not designed for use in this way and it's not a 
goal to expose them in that way.

Use spark-testing-base?

> Support unit tests of spark code using ScalaTest using suites other than 
> FunSuite
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-22308
>                 URL: https://issues.apache.org/jira/browse/SPARK-22308
>             Project: Spark
>          Issue Type: Improvement
>          Components: Documentation, Spark Core, SQL, Tests
>    Affects Versions: 2.2.0
>            Reporter: Nathan Kronenfeld
>            Priority: Minor
>              Labels: scalatest, test-suite, test_issue
>
> External codebases that have spark code can test it using SharedSparkContext, 
> no matter how they write their scalatests - basing on FunSuite, FunSpec, 
> FlatSpec, or WordSpec.
> SharedSQLContext only supports FunSuite.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to