Simple WordCount example using Spark with Scala, and demo for unit testing with spark
WordCount2MainTest => Run main method with no asserts WordCount2SimpleTest => Run tests with asserts
Note: Unit Tests are using ScalaTest and spark-testing-base util developed by Holden Karau