Files
ocean_project_manager/backend/pytest.ini
T
xsl e7906d57ee [backend] feat: 实现Tasks 4-10的完整代码
- 创建Pydantic Schema模型
- 创建认证中间件和依赖注入
- 创建认证路由
- 创建用户管理路由
- 创建项目管理路由(包含统计功能)
- 创建FastAPI主应用
- 创建环境配置文件
- 修复models的Enum导入问题
- 修复模块导入路径问题

注意:测试仍有部分失败,需要调整错误处理逻辑
2026-01-26 10:08:14 +08:00

18 lines
326 B
INI

[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
pythonpath = .
addopts =
-v
--strict-markers
--cov=src
--cov-report=term-missing
--cov-report=html
asyncio_mode = auto
markers =
unit: 单元测试
integration: 集成测试
slow: 慢速测试