SyntaxFix
Write A Post
Hire A Developer
Questions
This is now possible directly from unittest: unittest.TestLoader.discover.
import unittest loader = unittest.TestLoader() start_dir = 'path/to/your/test/files' suite = loader.discover(start_dir) runner = unittest.TextTestRunner() runner.run(suite)