stouputils.all_doctests.utils module#
This module is used to run all the doctests for all the modules in a given directory.
launch_tests()- Main function to launch tests for all modules in the given directory.test_module_with_progress()- Test a module with testmod and measure the time taken with progress printing.
- test_module_with_progress(
- module: ModuleType,
- separator: str,
Test a module with testmod and measure the time taken with progress printing.
- Parameters:
module (ModuleType) – Module to test
separator (str) – Separator string for alignment in output
- Returns:
The results of the tests
- Return type:
TestResults