Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.08 KB

File metadata and controls

27 lines (20 loc) · 1.08 KB

TransSimHub

TransSimHub is a lightweight Python library for simulating and controlling transportation systems.

Get started at English Docs | 中文文档

Test

  1. 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.

  1. Review the Test Results:
  • An OK output indicates all tests passed, confirming the tshub package is installed correctly and its version is greater than 1.
  • A FAIL or ERROR output indicates some tests did not pass. Review the output details to understand what went wrong.