Skip to content

e1. How to test

Jeong Seongmoon edited this page Nov 26, 2023 · 1 revision

Unit test

Test project with unittest.

# run unittest directly
python -m unittest discover ./tests *test.py -v

Integration test

Test with real trading market. Some integration tests are excuted via Jupyter notebook. It's good to run test flexible re-ordered.

You can find notebook files in notebook directory.

# run unittest directly
python -m unittest integration_tests

# or
python -m unittest integration_tests.simulation_ITG_test
Clone this wiki locally