The integration tests use Python scripts from the BBC TAMS repository (included as a git submodule) to ingest HLS content and outgest it as a transport stream file.
# First time: init the submodule
git submodule update --init
# Run the full integration test
make integration-test- Generate sample HLS content from Big Buck Bunny (requires ffmpeg, cached after first run)
- Create a Python venv and install dependencies
- Start all services
- Ingest 5 HLS segments via presigned URLs
- Outgest them to a .ts file
- Stop all services
- Verify the output file
make venv Create Python venv with integration test deps
make sample-content Generate HLS sample content (requires ffmpeg)
make integration-test Run full integration test (start -> ingest -> outgest -> stop)
make generate-media Generate test media segments with ffmpeg (no downloads)
make web-fixtures Populate running TAMS with web UI test data