- Introduced a new `.coverage` file for tracking test coverage metrics. - Added `pytest.ini` configuration for streamlined testing setup, including coverage reporting and logging options. - Created `requirements-test.txt` to manage testing dependencies, ensuring a consistent testing environment. - Implemented a `run_tests.py` script to facilitate running tests with various options, including unit and integration tests. - Established a structured testing directory with unit and integration tests, enhancing code reliability and maintainability. - Updated documentation to reflect new testing procedures and configurations.
14 lines
203 B
Python
14 lines
203 B
Python
"""
|
|
测试套件
|
|
========
|
|
|
|
测试目录结构:
|
|
- tests/unit/ : 单元测试
|
|
- tests/integration/ : 集成测试
|
|
- tests/fixtures/ : 测试数据
|
|
- tests/mocks/ : Mock对象
|
|
"""
|
|
|
|
__version__ = "1.0.0"
|
|
|