tree: e1d3c6b71d5c092b80e16f0c5e88ae87e5852358 [path history] [tgz]
  1. algorithms/
  2. federated/
  3. lineage/
  4. onnx_systemds/
  5. __init__.py
  6. README.md
  7. test_dml_script.py
  8. test_matrix_aggregations.py
  9. test_matrix_binary_op.py
  10. test_matrix_block_converter.py
  11. test_matrix_cholesky.py
  12. test_matrix_order.py
  13. test_matrix_rand.py
  14. test_matrix_reverse.py
  15. test_matrix_transpose.py
  16. test_matrix_trigonometric.py
src/main/python/tests/README.md

Python Test

Tests are easily executed using unittest:

But before executing the tests it is recommended to go through systemds Setting SYSTEMDS_ROOT environment

python -m unittest discover -s tests -p 'test_*.py'

This command searches through the test directory and finds all python files starting with test_ and executes them.

The only tests not executed using the above commands are Federated Tests.

Federated Tests

To execute the Federated Tests, use:

./tests/federated/runFedTest.sh

Federated experiments are a little different from the rest, since they require some setup in form of federated workers.

See more details in the script