pagmo
pagmo copied to clipboard
More flexible PyGMO unit test discovery
At the moment, executing PyGMO test suite is as follows:
from PyGMO import test
test.run_full_test_suite()
It would be nice to be able to have the same using command line and python -m unittest module:
$ python -m unittest PyGMO.test
At the moment the only tests that are being run are the one defined directly in PyGMO/test/__init__.py
Hi, @krzysztof I'm trying to fix this bug so I wanted to whether you can do with all the tests being in the init.py file ie. without separate files for the hypervolume, topology and archipelago tests. Thanks!