Metadata-Version: 2.1
Name: funalone
Version: 0.5.0
Summary: Unittest functions isolated.
Home-page: https://github.com/aafrecct/funalone
License: MIT
Author: Borja Martinena
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Project-URL: Repository, https://github.com/aafrecct/funalone
Description-Content-Type: text/markdown

# FunAlone

A small python library that makes it easy to test a function alone, that is, mocking all
dependencies. True unittests, without having to manually look and add every called function to an
increasing list of @mock.patch decorators.

## Changelog

### 0.5.0
- Separated functionality into two different files.
- Functions can now keep original globals and only override certain ones.
- Functions can now keep default arguments.
- Kept globals can be specified with a list of strings.
- Reworked how mocks are created and stored.
- Mocks can now be created and modified like attributes in the collection.
- Minor fixes

### 0.4.0
- Changed from a function decorator to a context manager for versatility.
- Made dependency logging optional


