-
-
Notifications
You must be signed in to change notification settings - Fork 0
test: end-to-end plex-watchdog test with live Plex server #88
Copy link
Copy link
Open
Description
Context
The plex-watchdog BATS tests use XML fixtures for unit testing. An end-to-end test against a live Plex server would catch issues with actual API response format changes, token auth, PUT requests for revert, and real drift detection.
Scope
Design an end-to-end test that:
- Reads a real Plex setting
- Changes it via the API
- Runs the watchdog poll
- Verifies drift is detected
- Reverts the setting
- Verifies resolution
Considerations
- Requires a running Plex server (only runnable on the actual Mac Mini)
- Must be non-destructive (revert any changes)
- Should use a safe setting (e.g.,
TranscoderThrottleBuffer) - Could be a manual test script rather than automated CI
Related
tests/plex-watchdog.batscovers unit testsapp-setup/templates/plex-watchdog.shandplex-watchdog-ctl.sh
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels