pytest.ini 242 B

12345678910
  1. [tool:pytest]
  2. testpaths = test
  3. python_files = test_*.py
  4. python_classes = Test*
  5. python_functions = test_*
  6. addopts = -v --tb=short
  7. markers =
  8. error_codes: 标记错误码测试
  9. integration: 标记集成测试
  10. unit: 标记单元测试