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

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

Unfortunately we have to stick with EasyMock. Mockito has problems with 
verifying sequential writes to instances that are reused. That is because 
Mockito applies it's verification only after the test has been executed and 
cannot see previous changes to a reused instance. We'd have to change a lot of 
code in order to be able to use Mockito.

> 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