mirror of
https://github.com/vinta/awesome-python.git
synced 2026-06-10 22:06:56 -05:00
[PR #1560] Add mockito #1357
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1560
Author: @nielsvaneck
Created: 6/23/2020
Status: 🔄 Open
Base:
master← Head:add_mockito📝 Commits (1)
909e596Add mockito to Testing section📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is this Python project?
Mockito is a Python implementation of the Java Mockito mock / spying framework. Mockito makes it very easy to write powerful mocks in a readable concise way.
https://github.com/kaste/mockito-python
https://mockito-python.readthedocs.io/en/latest/
What's the difference between this Python project and similar ones?
Mockito implements the Mock definition "language" introduced by the Java Library. It allows precisely injecting mocks in objects as needed rather than having to supply fully dedicated mock objects. Mocks can be configured with custom behavior based on inputs through argument matchers.
--
Anyone who agrees with this pull request could submit an Approve review to it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.