[pytest] # pytest配置文件 testpaths = tests python_files = test_*.py python_classes = Test* python_functions = test_* # 输出选项 addopts = -v --strict-markers --tb=short --cov=src --cov-report=term-missing --cov-report=html # 标记 markers = unit: 单元测试 integration: 集成测试 slow: 慢速测试