Unit Testing Scoobi

8 views
Skip to first unread message

Deepak Jain

unread,
Jul 22, 2015, 3:38:31 PM7/22/15
to scoobi-dev

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 ? 

Regards,
Deepak
Reply all
Reply to author
Forward
0 new messages