mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 09:06:06 +00:00
- Add pytest-based test suite with 32+ test cases - Test all features: text search, AND/OR operators, regex, whole words - Test time filtering: airing_at, start/end time ranges - Test channel/stream/group filtering - Test pagination and field selection - Test edge cases and error handling - Configurable via environment variables (host, port, credentials) - Include test runner script and documentation - Support for CI/CD integration with JUnit XML output Usage: ./tests/run_tests.sh pytest tests/test_epg_search_api.py -v DISPATCHARR_HOST=192.168.1.180 pytest tests/test_epg_search_api.py -v
16 lines
416 B
Text
16 lines
416 B
Text
# EPG Search API Test Configuration
|
|
# Copy this file to .env and fill in your values
|
|
|
|
# Server Configuration
|
|
DISPATCHARR_HOST=localhost
|
|
DISPATCHARR_PORT=9191
|
|
DISPATCHARR_HTTPS=false
|
|
|
|
# Authentication
|
|
DISPATCHARR_USERNAME=admin
|
|
DISPATCHARR_PASSWORD=admin
|
|
|
|
# Optional: Fixed timestamp for time-based tests
|
|
# If not set, uses current time
|
|
# Format: ISO 8601 (YYYY-MM-DDTHH:MM:SSZ)
|
|
# TEST_TIMESTAMP=2026-02-14T20:00:00Z
|