TransSimHub is a lightweight Python library for simulating and controlling transportation systems.
Get started at English Docs | 中文文档
- Run the Tests: You can use Python's unittest discovery mode to automatically find and run tests. From the root directory of your project, run:
python -m unittest discover -s testThe -s test option tells unittest to start discovery in the test directory. Python will automatically find files named like test*.py and execute the test cases defined within them.
- Review the Test Results:
- An
OKoutput indicates all tests passed, confirming thetshubpackage is installed correctly and its version is greater than 1. - A
FAILorERRORoutput indicates some tests did not pass. Review the output details to understand what went wrong.