[
https://issues.apache.org/jira/browse/HADOOP-9122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Yang reopened HADOOP-9122:
-------------------------------
Assignee: Eric Yang (was: Radim Kolar)
Reopening this old issue. Powermockito is great for creating better unit test
cases for large scale project that code needs to interact with other code which
may not be modifiable. There were some incompatibility issues between Mockito
and PowerMock in the last couple years. Mockito 1.9.5 + Powermock 1.5.6, and
commons-io 2.5 seems to be a reliable combination that works for Hadoop trunk
code base.
> Add powermock library for writing better unit tests
> ---------------------------------------------------
>
> Key: HADOOP-9122
> URL: https://issues.apache.org/jira/browse/HADOOP-9122
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Radim Kolar
> Assignee: Eric Yang
> Priority: Critical
> Attachments: powermock.txt
>
>
> This library is extension of mockito and easymock libraries. It allows
> testing of private methods, private variables and other otherwise untestable
> stuff.
> http://code.google.com/p/powermock/
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]