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 test
The -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
OK
output indicates all tests passed, confirming thetshub
package is installed correctly and its version is greater than 1. - A
FAIL
orERROR
output indicates some tests did not pass. Review the output details to understand what went wrong.