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