|
Introducing kgb, the spy agency for Python unit tests.
|
chipx86
|
May 22nd, 2013, 2:20 a.m.
|
|
|
Support spying on unbound functions on classes.
|
chipx86
|
May 31st, 2014, 2:59 p.m.
|
|
|
Calculation of Egyptian Fraction
|
YA
yagnikprajapati
|
September 3rd, 2014, 5:05 a.m.
|
|
|
Fix spying on functions belonging to falsy objects.
|
chipx86
|
November 23rd, 2015, 4:38 p.m.
|
|
|
Use __future__.absolute_import for spies function.
|
david
|
February 6th, 2017, 11:38 a.m.
|
|
|
Allow spies to replicate function signatures for introspection.
|
chipx86
|
October 25th, 2017, 6:36 p.m.
|
|
|
Add initial support for Python 3.x.
|
chipx86
|
October 26th, 2017, 3:44 p.m.
|
|
|
Split the unit tests into per-suite files.
|
chipx86
|
October 26th, 2017, 3:58 p.m.
|
|
|
Add support for Python 3's keyword-only arguments.
|
chipx86
|
October 31st, 2017, 3:34 p.m.
|
|
|
Add new helper functions for checking function call results.
|
chipx86
|
December 2nd, 2017, 7:13 p.m.
|
|
|
Support partial argument checks for function calls.
|
chipx86
|
December 2nd, 2017, 7:17 p.m.
|
|
|
Remove six as a dependency and fix unit tests.
|
chipx86
|
December 5th, 2017, 2:28 p.m.
|
|
|
Always use code injection for spies and remove the ".spy" requirement.
|
chipx86
|
January 22nd, 2018, 4:09 p.m.
|
|
|
Change argument storage for compatibility with Python 3.6.
|
chipx86
|
January 22nd, 2018, 9:58 p.m.
|
|
|
Fix unit tests on Python 2.6.
|
chipx86
|
January 22nd, 2018, 10:04 p.m.
|
|
|
Improve error output when spying on a function goes wrong.
|
chipx86
|
January 23rd, 2018, 1:44 a.m.
|
|
|
Add more flexible argument checking in called_with().
|
chipx86
|
January 23rd, 2018, 1:53 a.m.
|
|
|
Modernize the documentation and switch to ReST.
|
chipx86
|
February 5th, 2018, 6:54 p.m.
|
|
|
Fix copying function annotations and keyword-only defaults on Python 3.
|
chipx86
|
February 27th, 2018, 4:04 p.m.
|
|
|
Fix executing certain spied methods under Python 3.6.
|
chipx86
|
February 28th, 2018, 11:13 p.m.
|
|
|
Fix problems spying on classmethods.
|
chipx86
|
March 8th, 2018, 1:52 a.m.
|
|
|
Fix spying on a classmethod defined on a parent class.
|
chipx86
|
July 9th, 2018, 2:02 p.m.
|
|
|
Fix spying on objects with a custom __setattr__.
|
chipx86
|
July 9th, 2018, 2:08 p.m.
|
|
|
Fix a SyntaxError on Python 2.6 and early versions of 2.7.
|
chipx86
|
August 3rd, 2018, 5:27 p.m.
|
|
|
Fix spying on methods on old-style classes.
|
chipx86
|
October 6th, 2018, 10:25 p.m.
|
|
|
Allow an explicit owner for unbound method spies and warn if missing.
|
chipx86
|
December 3rd, 2018, 1:46 p.m.
|
|
|
Fix spying on unbound methods defined in a parent class of an owner.
|
chipx86
|
December 3rd, 2018, 1:49 p.m.
|
|
|
Add a function for calling the original spied-on function.
|
chipx86
|
July 19th, 2019, 9:47 a.m.
|
|
|
Format argument signatures using inspect.Signature on Python 3.x.
|
chipx86
|
July 19th, 2019, 10:39 a.m.
|
|
|
Support Python 3.8+ functions with positional-only arguments.
|
chipx86
|
February 25th, 2020, 6:50 p.m.
|
|
|
Move all function introspection/argument generation into new classes.
|
chipx86
|
February 26th, 2020, 2:18 a.m.
|
|
|
Add workarounds for spying on slippery functions.
|
chipx86
|
April 1st, 2020, 9:20 p.m.
|
|
|
Improve readability of the major parts of the KGB code.
|
chipx86
|
April 2nd, 2020, 12:08 a.m.
|
|
|
Bring the codebase documentation up to modern standards.
|
chipx86
|
April 2nd, 2020, 6:24 p.m.
|
|
|
Add new assertion methods for checking spies.
|
chipx86
|
April 4th, 2020, 12:36 a.m.
|
|
|
Add a new @spy_for decorator for spying with fake functions.
|
chipx86
|
May 16th, 2020, 7:46 p.m.
|
|
|
Move SpyCall into its own file.
|
chipx86
|
May 16th, 2020, 9:27 p.m.
|
|
|
Enable use of the SpyAgency assertion methods without a TestCase.
|
chipx86
|
May 16th, 2020, 9:36 p.m.
|
|
|
Fix a unit test issue with dictionary sort order on Python 3.5.
|
chipx86
|
August 12th, 2020, 2:08 a.m.
|
|
|
Add support for spy operations.
|
chipx86
|
August 30th, 2020, 9:31 p.m.
|
|
|
Add assertSpyNotCalledWith().
|
chipx86
|
September 3rd, 2020, 5:13 p.m.
|
|
|
Convert the NEWS file to ReStructuredText.
|
chipx86
|
September 3rd, 2020, 11:29 p.m.
|
|
|
Add release notes for KGB 6.
|
chipx86
|
September 3rd, 2020, 11:40 p.m.
|
|
|
Allow spy operations to nest spy operations.
|
chipx86
|
August 19th, 2021, 10:41 p.m.
|
|
|
Improve the error for unexpected function call spies in operations.
|
chipx86
|
August 20th, 2021, 2:30 a.m.
|
|
|
Add new SpyOpReturnInOrder and SpyOpRaiseInOrder spy operations.
|
chipx86
|
August 20th, 2021, 2:39 a.m.
|
|
|
Add release notes for kgb 6.1.
|
chipx86
|
August 20th, 2021, 2:51 a.m.
|
|
|
Fix unit tests on Python 3.10 and update listed compatibility.
|
chipx86
|
October 5th, 2021, 7:30 p.m.
|
|
|
Switch the unit test runner to pytest.
|
chipx86
|
January 9th, 2022, 10:23 p.m.
|
|
|
Explicitly order keyword arguments in SpyCall.__repr__.
|
chipx86
|
January 9th, 2022, 10:39 p.m.
|
|