Skip to content

Conversation

@ignasio-mux
Copy link
Contributor

@ignasio-mux ignasio-mux commented Jul 14, 2025

This PR introduces restructuring of the integration test infrastructure to support local video asset testing with a custom HLS server implementation.

Key Changes

  • Swifter Framework Integration
  • Added Swifter as a dependency for HTTP server functionality
  • Enables local HLS video streaming during integration tests
  • Provides HTTP request/response handling for video asset serving

New Testing Infrastructure

  • Local Server Tests: New test suite (LocalServerTests) for validating video asset serving
  • MockHLSServer: Custom HLS server implementation using Swifter
  • Asset Validation: Comprehensive tests for different video formats (CMAF, segments, multivariant, encrypted)
  • Asset Management System

Build Scripts: Complete asset generation pipeline using ffmpeg

Asset Bundling: Proper SPM resource management for test assets

Benefits

  • Local Testing: No dependency on external video URLs for integration tests
  • Reliable Assets: Consistent, controlled video content for testing
  • Multiple Formats: Tests cover various HLS implementations

UPDATE: Temporarily removing Packages from .gitignore

This PR closes #334

@snyk-io
Copy link

snyk-io bot commented Jul 14, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@ignasio-mux ignasio-mux force-pushed the ir/actual-swifter-repo branch from 8ef9ffb to 6e997a0 Compare September 12, 2025 18:15
@ignasio-mux ignasio-mux force-pushed the ir/actual-swifter-repo branch from 2753bd5 to 6ae208f Compare September 15, 2025 14:53
@ignasio-mux ignasio-mux force-pushed the ir/actual-swifter-repo branch from 6467836 to 743459f Compare September 15, 2025 18:42
@ignasio-mux ignasio-mux force-pushed the ir/actual-swifter-repo branch from 743459f to 7b4baf4 Compare September 15, 2025 18:53
@ignasio-mux ignasio-mux force-pushed the ir/actual-swifter-repo branch from b4b4baa to ad28bc7 Compare September 16, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants