Aggregating multiple test cases from multiple modules to run in PyDev TestRunner
pydev, python, unit-testing
Solution
There are many choices in PyDev depending on what you want:
Right-click a folder and choose 'run as > Python unit-test' (will run all modules below the dir as unit-tests).
Right-click multiple python modules and choose 'run as > Python unit-test' (will load the tests for all those modules and run them).
Create a module which imports all the tests with a different name and select 'run as > Python unit-test' for that module.
i.e.:
from test_mod1 import Test as Test1
from test_mod2 import Test as Test2
Problem
What's the best way to aggregate test cases from multiple modules such that a single test run will execute them all and present the results in the PyDev UnitTest window?