開始使用免費開始

撰寫並執行測試

reporter.py 中的 reporter CLI 已就緒。現在要透過撰寫並執行測試來驗證是否能正常運作。你可以在這裡查看程式碼: reporter.py。

本練習屬於課程

使用 Claude Code 進行軟體開發

檢視課程

練習說明

  • 以 claude 啟動 Claude Code。
  • 參考 @PLAN.md 以了解測試需求。
  • 參考 @reporter.py,並請 Claude 依據計畫撰寫並執行 pytest 測試。
  • 完成後輸入 /exit 以離開 Claude Code。

動手互動練習

將理論付諸實踐,立即體驗我們的互動練習

開始練習