557 B
557 B
last_reviewed
| last_reviewed |
|---|
| 2026-06-11 |
tests — 单元测试目录
存放项目单元测试,使用 pytest 运行。
测试清单
| 文件 | 覆盖范围 |
|---|---|
test_config.py |
配置加载模块 |
test_extractor.py |
发票提取编排:空目录、提取失败、正常流程、分类结果、申请单分离、支付匹配 |
test_invoice.py |
发票分类、CSV 读写 |
test_llm_extractor.py |
LLM 信息提取 |
test_matcher.py |
发票与支付记录匹配 |
运行方式
uv run pytest tests/