Mockito: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
The Mockito framework streamlines the creation and management of external dependencies, and provides an API to create [[Software_Testing_Concepts#Mock|mock objects]]. It uses proxy objects to verify the invocation and stub calls. | The Mockito framework streamlines the creation and management of external dependencies, and provides an API to create [[Software_Testing_Concepts#Mock|mock objects]]. It uses proxy objects to verify the invocation and stub calls. | ||
=Distributions= | =Distributions= | ||
==<tt>mockito-core</tt>== | ==<tt>mockito-core</tt>== | ||
<syntaxhighlight lang='groovy'> | <syntaxhighlight lang='groovy'> |
Revision as of 02:56, 16 July 2021
External
- http://site.mockito.org
- https://github.com/mockito/mockito/wiki
- https://www.baeldung.com/mockito-series
- https://www.vogella.com/tutorials/Mockito/article.html
Internal
Overview
The Mockito framework streamlines the creation and management of external dependencies, and provides an API to create mock objects. It uses proxy objects to verify the invocation and stub calls.
Distributions
mockito-core
dependencies {
implementation 'org.mockito:mockito-core:3.11.2'
}