feat: Add coverage report generation and enhance testing framework

- 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.
This commit is contained in:
Your Name committed 2025-12-22 13:26:26 +08:00
1 parent ce4a332dc0
commit 539e580147
44 files changed
+11824 -9501

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
"""
测试套件
========
测试目录结构:
- tests/unit/ : 单元测试
- tests/integration/ : 集成测试
- tests/fixtures/ : 测试数据
- tests/mocks/ : Mock对象
"""
__version__ = "1.0.0"