Bug#1019048: ITP: python-kgb -- Utilities for spying on function calls in Python unit tests
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org
* Package name : python-kgb
Version : 7.1.1
Upstream Author : Christian Hammond <christian@beanbaginc.com>
* URL : https://github.com/beanbaginc/kgb
* License : MIT
Programming Lang: Python
Description : Utilities for spying on function calls in Python unit tests
Spies intercept and record calls to functions. They can report on how many
times a function was called and with what arguments. They can allow the
function call to go through as normal, to block it, or to reroute it to
another function.
.
Spies are like mocks, but better. You're not mocking the world. You're
replacing very specific function logic, or listening to functions without
altering them.
I plan to maintain this package as part of the Python team.
Reply to: