What to build
ginkgo test list 崩溃,GCONF.WORKING_PATH 为 None 时 Path(None) / "test" 触发 TypeError。
test_cli.py:59 直接使用 Path(GCONF.WORKING_PATH) 未做空值保护。
Steps to reproduce
ginkgo test list
- 观察:TypeError: expected str, bytes or os.PathLike object, not NoneType
Expected behavior
WORKING_PATH 为 None 时使用合理默认值(项目根目录)或给出明确错误提示。
Acceptance criteria
Blocked by
None - can start immediately.
What to build
ginkgo test list崩溃,GCONF.WORKING_PATH为 None 时Path(None) / "test"触发 TypeError。test_cli.py:59直接使用Path(GCONF.WORKING_PATH)未做空值保护。Steps to reproduce
ginkgo test listExpected behavior
WORKING_PATH为 None 时使用合理默认值(项目根目录)或给出明确错误提示。Acceptance criteria
WORKING_PATH为 None 时使用合理默认值ginkgo test list正常显示测试模块列表Blocked by
None - can start immediately.