Aan de slagGa gratis aan de slag

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/.

Deze oefening maakt deel uit van de cursus

Software Development with Claude Code

Cursus bekijken

Oefeninstructies

  • 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.

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen