GRI-1856: independent acceptance tests for playlist routes #101
No reviewers
Labels
No labels
Area/Backend
Area/Database
Area/Docs
Area/Frontend
Area/Infra
Area/Security
Area/Tests
Area/Tooling
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Lang/Python
Lang/Rust
Lang/Shell
Lang/SQL
Lang/TypeScript
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Routing
Auto
Routing
Hold
Routing
Human
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage!101
Loading…
Reference in a new issue
No description provided.
Delete branch "test/GRI-1856-playlist-acceptance-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Independent acceptance tests for the playlist routes (GRI-1874, PR #99), not derived from the implementer's own
playlist_integration.rs.Criterion-to-test mapping (
plan/tests/mvp-acceptance.mdsection 4; AC-4-01 is E2E, out of scope here):ac_4_02_item_duration_override_beats_playlist_default— an item's duration override wins over the playlist default; a non-overridden item keeps the playlist default.ac_4_03_empty_playlist_assignment_is_accepted_not_refused— assigning a zero-item playlist to a device returns 200, not an error.Fail-first, verified by temporarily breaking each contract in the implementation and reverting:
ItemView::duration_secondsto alwaysNone→ test failed withleft: Null, right: 5.bad_requestguard on empty items inassign_playlist→ test failed withleft: 400, right: 200../scripts/local-gates.sh: all gates passed (onecargo fmtfixup folded in as a separate commit).