[ol8_developer_EPEL] python3-kgb-7.1.1-1.el8.noarch

Name:python3-kgb
Version:7.1.1
Release:1.el8
Architecture:noarch
Group:Unspecified
Size:371184
License:MIT
RPM: python3-kgb-7.1.1-1.el8.noarch.rpm
Source RPM: python-kgb-7.1.1-1.el8.src.rpm
Build Date:Thu Sep 08 2022
Build Host:build-ol8-x86_64.oracle.com
Vendor:Oracle America
URL:https://github.com/beanbaginc/kgb
Summary:Intercept and record calls to functions
Description:
Ever deal with a large test suite before, monkey patching functions to figure
out whether it was called as expected? It’s a dirty job. If you’re not careful,
you can make a mess of things. Leave behind evidence.

kgb’s spies will take care of that little problem for you.

What are spies? 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 awesome.

(If you’ve used Jasmine, you know this.)

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.

Changelog (Show File list) (Show related packages)