I have a scala+scoobi project that does bunch of map,groupBy,combine, reduce & other scoobi operations. I would like to write unit tests around this. How do i go about it ?
1) Should i go the route of EasyMock (or Mockito) to mock DList (DList is a trait) ?
2) Should i create a single (sample size) record(s) (actual) and run the scoobi app against it and call it as unit test (when infact its integration test)
How do i go about it ?
Do we have few examples ?