始める無料で始める

Build a Test Baseline for Refactoring

The routes.py file in the Music Analytics API has no unit tests. Before we can safely refactor code, we need test coverage to ensure our changes don't break existing behavior. The project has available a unit testing skill already set up in .claude/skills/unit-tests/.

この演習はコースの一部です

Software Development with Claude Code

コースを見る

演習の手順

  • Start Claude Code with claude.
  • Use the testing skill: /unit-tests @routes.py to generate unit tests.
  • Run the tests to verify they pass.
  • When done, type /exit to exit Claude Code.

実践的なインタラクティブ演習

理論を実践に変える、インタラクティブな演習のひとつをお試しください

演習を開始する