On Mon, Aug 09, 2010 at 02:00:53PM +0200, Luca Invernizzi wrote: > Hello guys, > I've expanded ./run-tests to support running a selected set of tests. This > way, > we don't have to mess with GTG/tests/__init__.py anymore. > It works as simple as: > ./run-tests - run all tests > ./run-tests test_aloha test_hyperspace - runs just these tests, one after the > other. The aggregated result of all > tests is shown at the end.
Awesome, this will likely be quite handy. Btw, dunno how hard this would be to do, but in Launchpad the test runner has something similar but uses regular expressions for matching tests. So you could do something like: ./run-tests store which would look for and run all tests matching "*store*" (test_tagstore.py, test_datastore.py). This could be helpful if we want to split up tests into more files but still be able to easily run a set of tests, like all the 'signal' tests, or all 'plugin' or 'tree' tests. > I've committed that to liblarch_rebased, since it's where the tests are being > written. (Actually it appears you've committed this to liblarch_migration, not liblarch_rebased.) Bryce _______________________________________________ Mailing list: https://launchpad.net/~gtg-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~gtg-contributors More help : https://help.launchpad.net/ListHelp

