[
https://issues.apache.org/jira/browse/HTTPCLIENT-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471099#comment-13471099
]
Joe Campbell commented on HTTPCLIENT-1244:
------------------------------------------
I think actually - that I converted the last of the original mockito tests that
existed in the HTTPclient code base when the caching client was originally
submitted. Rather I think what we would like to do is change the 'strict' mock
default of EasyMock to the 'relaxed' version so that additional calls that are
made the don't impact the over all compliance can be added without impacting
hundreds of unit tests.
Thoughts?
> 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: Cache
> Reporter: Jon Moore
> Labels: test
> Fix For: Future
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]