撰寫並執行測試
reporter.py 中的 reporter CLI 已就緒。現在要透過撰寫並執行測試來驗證是否能正常運作。你可以在這裡查看程式碼: reporter.py。
本練習屬於課程
使用 Claude Code 進行軟體開發
練習說明
- 以
claude啟動 Claude Code。 - 參考
@PLAN.md以了解測試需求。 - 參考
@reporter.py,並請 Claude 依據計畫撰寫並執行 pytest 測試。 - 完成後輸入
/exit以離開 Claude Code。
