-
Notifications
You must be signed in to change notification settings - Fork 249
Testing PyClustering
Unit-tests and integration tests of pyclustering library tests python code and its interaction with the core of the library ccore. There is description how to execute pyclustering unit-tests.
Unit-tests for pyclustering based on unittest can run:
python3 pyclustering/tests/tests_runner.py --unit
Integration tests for pyclustering can run:
python3 pyclustering/tests/tests_runner.py --integration
Unit-tests can be run separetly for each module as well as integration, for example, execute unit-tests for pyclustering.nnet.syncpr:
python3 pyclustering/pyclustering/nnet/tests/ut/__init__.py
Unit-test can be executed separetly for each algorithm as well as integration tests, for example, execute unit-tests for pyclustering.cluster.dbscan:
python3 pyclustering/cluster/tests/ut/dbscan_tests.py
Or integration tests for pyclustering.cluster.dbscan:
python3 pyclustering/cluster/tests/it/dbscan_tests.py