Fix #2: 完善现有代码的UT #4

Merged
pzhang_zywl merged 1 commits from dev/issue-2-improve-ut-coverage into main 2026-05-31 14:28:52 +08:00
Owner

Closes #2

完善现有代码的UT
确保能跑通CI,无错误。

🤖 Generated by dev agent

Closes #2 完善现有代码的UT 确保能跑通CI,无错误。 🤖 Generated by dev agent
pzhang_zywl added 1 commit 2026-05-31 14:24:37 +08:00
- 新建 pytest.ini 统一 test discovery(tests/ + skills/ir_generation_skill/tests/)
- test_step1~3 转换为 pytest 兼容格式,无输出文件时自动 skip
- 新增 tests/test_detect_conflicts.py(18 个纯函数单测)
- 新增 tests/test_config.py(7 个配置模块单测)
- CI 改为 pytest -v 使用 pytest.ini testpaths
- DEV_AGENT.md 新增 PR 提交规范

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
pzhang_zywl merged commit 9be264250a into main 2026-05-31 14:28:52 +08:00
Sign in to join this conversation.