{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","python"],"comment":"Utilities for spying on function calls in unit tests","compare":null,"dependentCount":null,"description":"Ever deal with a large test suite before, monkey patching functions\nto figure out whether it was called as expected? It's a dirty job.\nIf you're not careful, you can make a mess of things. Leave behind\nevidence.\n\nkgb's spies will take care of that little problem for you.\n\nWhat are spies?\n\nSpies intercept and record calls to functions. They can report on\nhow many times a function was called and with what arguments. They\ncan allow the function call to go through as normal, to block it,\nor to reroute it to another function.\n\nSpies are like mocks, but better. You're not mocking the world.\nYou're replacing very specific function logic, or listening to\nfunctions without altering them.","flavors":[{"comment":"Utilities for spying on function calls in unit tests","pkgName":"py312-kgb-7.3"},{"comment":"Utilities for spying on function calls in unit tests","pkgName":"py313-kgb-7.3"},{"comment":"Utilities for spying on function calls in unit tests","pkgName":"py314-kgb-7.3"}],"html":"https://daemonports.org/netbsd/devel/py-kgb/","kind":"port","lastUpdate":null,"license":["mit"],"maintainer":"pkgsrc-users@NetBSD.org","name":"py311-kgb","newest":false,"newestVersion":null,"noVulnData":false,"origin":"devel/py-kgb","otherSystems":[],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["7.3"]},{"repo":"NetBSD 10.1 aarch64","versions":["7.3"]},{"repo":"SmartOS / illumos x86_64","versions":["7.3"]},{"repo":"macOS 15 arm64","versions":["7.3"]}],"pkgName":"py311-kgb-7.3","related":null,"repository":"pkgsrc","requiredBy":[],"requiredByCount":0,"runDepends":["lang/python311"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"7.3","versions":null,"vulnerabilities":null,"www":"https://github.com/beanbaginc/kgb"}
