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

ASF subversion and git services commented on HTTPCLIENT-1244:
-------------------------------------------------------------

Commit 760795b6dfa6db8359aa9a4cd740a09ffb49b8f8 in httpcomponents-client's 
branch refs/heads/master from Oleg Kalnichevski
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=760795b ]

HTTPCLIENT-1244: Replaced EasyMock with Mockito in the HTTP cache unit tests


> convert unit tests for cache module to use Mockito
> --------------------------------------------------
>
>                 Key: HTTPCLIENT-1244
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1244
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpCache
>            Reporter: Jonathan Moore
>            Assignee: Oleg Kalnichevski
>            Priority: Major
>              Labels: test
>             Fix For: 5.2-alpha1
>
>         Attachments: 
> 0001-HTTPCLIENT-1244-Move-many-httpclient-cache-tests-ove.patch, 
> niceMockTransition_.patch
>
>
> Currently the unit tests for the caching module, while comprehensive, use 
> strict mocks from EasyMock. In many cases, these tests are brittle in ways 
> they shouldn't be. Converting to Mockito (as the rest of the httpclient 
> codebase does) would potentially help here, as well as unifying the unit test 
> frameworks used across the codebase.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to