[ 
https://issues.apache.org/jira/browse/MAHOUT-730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047996#comment-13047996
 ] 

Sebastian Schelter commented on MAHOUT-730:
-------------------------------------------

I tried to rewrite some of our test cases with MRUnit and while I like the 
general idea behind it, I don't think it is ready enough to replace our mocked 
tests yet.

It is for example not possible to test a mapper without invoking its setup() 
method.

> Replace EasyMock with Mockito
> -----------------------------
>
>                 Key: MAHOUT-730
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-730
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.6
>            Reporter: Sebastian Schelter
>            Assignee: Sebastian Schelter
>
> I'd like to switch our mock library from EasyMock to Mockito. The later one 
> needs less code (and doesn't need to be "replayed") and it's more intuitive 
> to write tests with it in my experience. Switching shouldn't be a big effort.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to