test: add comprehensive constructor-injected unit tests for player and storage services (#22)#27
Open
Shouryaverma19 wants to merge 2 commits into
Open
test: add comprehensive constructor-injected unit tests for player and storage services (#22)#27Shouryaverma19 wants to merge 2 commits into
Shouryaverma19 wants to merge 2 commits into
Conversation
Add unit tests for StorageService methods including mode switching, remounting, and error handling.
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
This PR resolves issue #22 by adding test coverage profiles for the two primary service frameworks (
services/player.pyandservices/storage.py) insidetests/unit/.Changes Implemented
test_player_service.py): Verified complete execution maps for play/stop loops, handled explicit_wait_stream_ready()boundary timeout defaults, and ensured tracking stays accurate if processes terminate abruptly.test_storage_service.py): Verified hot-swapping configurations between local paths and CIFS structures alongside validating execution error tracking if connection sequences drop out.