Files
music_library/backlog/tasks/ml-79 - Chat-implementations-have-trivial-test-coverage.md
T
2026-04-20 10:02:25 +01:00

940 B

id, title, status, assignee, created_date, labels, dependencies, references, priority
id title status assignee created_date labels dependencies references priority
ML-79 Chat implementations have trivial test coverage Done
2026-04-20 08:57
https://github.com/cloud8421/music_library/issues/96
medium

Description

GitHub: created 2026-03-05 · updated 2026-03-05 · closed 2026-03-05

Priority: Medium

Description

ArtistChat and RecordChat test files only verify function_exported?/3:

  • test/music_library/artist_chat_test.exs (10 LOC) — only checks callback export
  • test/music_library/record_chat_test.exs (10 LOC) — only checks callback export

The actual business logic in build_instructions/2, build_context/3, and instruction building is untested.

Expected behavior

Add tests for instruction building and context assembly logic.

Source

From technical debt audit (2026-03-05).