You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2016/10/23 20:13:59 UTC

[jira] [Closed] (LOG4J2-1646) Migrate from EasyMock to Mockito 2.x

     [ https://issues.apache.org/jira/browse/LOG4J2-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Sicker closed LOG4J2-1646.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.7.1

Every unit test I could find that was using EasyMock has been migrated to Mockito. I've removed EasyMock from our dependencies entirely.

> Migrate from EasyMock to Mockito 2.x
> ------------------------------------
>
>                 Key: LOG4J2-1646
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1646
>             Project: Log4j 2
>          Issue Type: Test
>            Reporter: Matt Sicker
>            Assignee: Matt Sicker
>             Fix For: 2.7.1
>
>
> Mockito is a more popular and easier to use mocking framework for unit tests. I proposed migrating to Mockito a while back on the mailing list and didn't find any objections.
> More info on Mockito can be found here: http://site.mockito.org/
> Comparison: https://github.com/mockito/mockito/wiki/Mockito-vs-EasyMock



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org