Skip to content

Releases: RaduG/pytest_func_cov

Bug fixes

15 Apr 08:08
cc689ba
Compare
Choose a tag to compare
v0.2.3

Bug fix

Improve transparency of tracking decorator

24 May 12:51
f00bff0
Compare
Choose a tag to compare
0.2.2

Copy original function's signature when applying the tracking decorat…

Fix import order

23 May 14:36
034c0bd
Compare
Choose a tag to compare

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

23 May 13:59
Compare
Choose a tag to compare
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

19 Feb 10:31
Compare
Choose a tag to compare
0.1.3

Bump version to 0.1.3

Major refactoring

18 Feb 11:45
f9a9ac6
Compare
Choose a tag to compare
v0.1.2

Update publish.yml