Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change testcase to use spark testing framework #3

Open
sanori opened this issue Oct 1, 2017 · 0 comments
Open

change testcase to use spark testing framework #3

sanori opened this issue Oct 1, 2017 · 0 comments

Comments

@sanori
Copy link
Owner

sanori commented Oct 1, 2017

Remove boilerplate code in ShakespeareSpec.scala by using spark testing framework

private var spark: SparkSession = _
before {
spark = SparkSession.builder
.master("local")
.appName("ShakespeareSpec")
.getOrCreate
}
after {
if (spark != null) spark.stop()
}

Is it overkill?

Candidates:

@sanori sanori changed the title change testcase to use holdenk/spark-testing-base change testcase to use spark testing framework Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant