Files
music_library/backlog/archive/tasks/ml-89 - Random-data-in-test-fixtures.md
T
2026-04-20 10:02:25 +01:00

839 B

id, title, status, assignee, created_date, labels, dependencies, references, priority
id title status assignee created_date labels dependencies references priority
ML-89 Random data in test fixtures To Do
2026-04-20 08:57
https://github.com/cloud8421/music_library/issues/85
low

Description

GitHub: created 2026-02-17 · updated 2026-03-06 · closed 2026-03-06 · not planned

Priority: Low

Description

test/support/fixtures/music_library/records.ex uses Enum.random/1 (lines 74, 91, 93) and :rand.uniform/1 (line 86) for generating test data (artist names, titles, formats, genres). This can make test failures harder to reproduce.

Expected behavior

Consider using deterministic sequences or seeded randomness for reproducible tests.

Source

From technical debt audit (2026-02-17), item #12.