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/.
To ćwiczenie jest częścią kursu
Software Development with Claude Code
Instrukcje do ćwiczenia
- Start Claude Code with
claude. - Use the testing skill:
/unit-tests @routes.pyto generate unit tests. - Run the tests to verify they pass.
- When done, type
/exitto exit Claude Code.
Interaktywne ćwiczenie praktyczne
Przekształć teorię w praktykę dzięki jednemu z naszych interaktywnych ćwiczeń
Rozpocznij ćwiczenie