Releases: RaduG/pytest_func_cov
Releases · RaduG/pytest_func_cov
Bug fixes
Improve transparency of tracking decorator
0.2.2 Copy original function's signature when applying the tracking decorat…
Fix import order
Fixes issue caused by not importing a package's init.py first manifesting as a circular dependency.
Bring standard console output in line with pytest-cov
Merge develop into master Squashed commit of the following: commit 8144ae33adf83372536f0cd9e1f78b66bbe8a650 Author: Radu Ghitescu <[email protected]> Date: Sat May 23 14:50:58 2020 +0100 Bump to v0.2.0 commit 59b2308f201d09850b055d0a9bcf381ad716fe93 Author: Radu Ghitescu <[email protected]> Date: Sat May 23 14:49:59 2020 +0100 Update module discovery and console outputs (#6) * Replace model lookup with recursive os.walk based function which treats modules and packages in a consistent way. Update docstrings to use PEP484-style type information * Streamlined module discovery, unified discovery for packages and modules and tracking grouped by module - simplify module discovery with os.walk - FunctionCallMonitor now stores tracked functions grouped by module - import_module_from_file checks if the module is already imported and returns the module object from sys.modules; this fixes an issue occuring when a function is aliased in another module and the aliased reference is tested when the module in which the original function is defined was imported again after the aliased one - update docstrings with PEP-484 types * Update console output and add tests using pytester - the default output is now in line with pytest-cov - added option --func_cov_report for future extensibility; implemented term-missing which has the same effect as in pytest-cov, but shows the names of the untested functions * Remove unnecessary files * Update sample output and add --func_cov_report information * Make tests a package again * Load pytester * Load pytest_func_cov during tests commit c77ace41f8c4c045a60461d5eb1452e56a8e5d93 Author: vladg94 <[email protected]> Date: Sun Apr 5 07:55:35 2020 -0700 Add Tests For find_package function (#5) * Add Tests For find_package function * Add scope to pytest.fixture packag/non_package * Mistake removal# * Modified test for find_package with packages * remove print statements * Add tests for get_functions defined in module. Reformated file with black. * Fix tests Co-authored-by: Radu Ghitescu <[email protected]> commit 00f80657eadae187be681e19e27b0b2157050e6d Author: Radu Ghitescu <[email protected]> Date: Mon Mar 30 10:24:08 2020 +0100 Run Black commit 03c9f90aa3766a562a7f92f631f10c8b3aefaec0 Author: Radu Ghitescu <[email protected]> Date: Sun Mar 29 15:13:07 2020 +0100 Run Black formatter commit 2695e241ef9fcbbf766f6c3865e3a4d541f19673 Author: Radu Ghitescu <[email protected]> Date: Sun Mar 29 15:09:34 2020 +0100 Test is_package using temp folders commit bead290ba532ae01fdd134f41a60af5506c15acc Author: Radu Ghitescu <[email protected]> Date: Sun Mar 29 14:59:25 2020 +0100 Add .vscode commit e978ea76987f4b430325ba18dc8966a5cc4bd8ee Author: vladg94 <[email protected]> Date: Wed Mar 18 07:01:35 2020 -0700 Vg test branch (#4) * Add tests for is_package
Enhance PyPi documentation
0.1.3 Bump version to 0.1.3
Major refactoring
v0.1.2 Update publish.yml