Unless you had something specific in mind, it should be as simple as creating a SparkContext object using a master of local[2] in your tests
On Fri, Jul 10, 2015 at 1:41 PM, Naveen Madhire <vmadh...@umail.iu.edu> wrote: > Hi, > > I want to write junit test cases in scala for testing spark application. > Is there any guide or link which I can refer. > > Thank you very much. > > -Naveen > > > > -- -- *Richard Marscher* Software Engineer Localytics Localytics.com <http://localytics.com/> | Our Blog <http://localytics.com/blog> | Twitter <http://twitter.com/localytics> | Facebook <http://facebook.com/localytics> | LinkedIn <http://www.linkedin.com/company/1148792?trk=tyah>