pagmo icon indicating copy to clipboard operation
pagmo copied to clipboard

More flexible PyGMO unit test discovery

Open krzysztof opened this issue 10 years ago • 1 comments

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

krzysztof avatar Mar 10 '15 15:03 krzysztof

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!

shivin9 avatar Dec 23 '15 04:12 shivin9