litmus is designed to automatically create a unit test skeleton based on existing functions, saving you time writing unit tests for an existing code base.
pip install litmus==1.0.1
import litmus.compose
litmus.compose.compose_test_module_skeleton("my_module.py")
Similar projects include: