Reputation: 99
I've written multiple unit tests using python unit test module in multiple directories How to run all the tests from a single file
I have to integrate this file to a jenkins job and am using django
Upvotes: 1
Views: 930
Reputation: 443
Your folders will need to contain an __init__.py
file in each of them, then you should be able to instantiate the unit test runner and pass it the parent directory, unit test discovery should pick up the sub-folders automatically.
Upvotes: 1