~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
Infrastructure Tests
This directory contains tests for infrastructure and architectural components of the Local Deep Research application.
Test Categories
Route Management
test_route_registry.py- Tests for the centralized route registry systemtest_urls_js.py- Python tests verifying JavaScript URL configuration matches backend routestest_urls.test.js- JavaScript unit tests for URL builder functionalitytest_hardcoded_fetch_urls.py- Verifies every fully-literalfetch()/XHR URL in templates and static JS resolves to a real backend route (statically derived; complementstest_urls_js.py, which covers the central URLS table)test_documented_env_vars.py- Verifies every env var documented indocs/deployment/anddocs/troubleshooting.mdis actually referenced bysrc/(docs drift after renames would hand operators no-op variables)
Future Test Categories (to be added)
- Configuration Tests - Tests for settings management and configuration loading
- Database Tests - Schema validation, migration tests
- Logging Tests - Log formatting, sinks, and handlers
- URL Management Tests - URL utilities and validation
- Cache Tests - Caching layer functionality
- Middleware Tests - Request/response middleware components
Running Infrastructure Tests
Python Tests
Run all Python infrastructure tests:
pytest tests/infrastructure_tests/
Run a specific test file:
pytest tests/infrastructure_tests/test_route_registry.py -v
pytest tests/infrastructure_tests/test_urls_js.py -v
JavaScript Tests
First, install JavaScript test dependencies:
cd tests/infrastructure_tests
npm install
Run JavaScript tests:
npm test
# or
npm run test:watch # for watch mode
npm run test:coverage # for coverage report
Adding New Infrastructure Tests
When adding new infrastructure tests:
- Create appropriately named test files (e.g.,
test_<component>.py) - Group related tests into test classes
- Use descriptive test names that explain what is being tested
- Add docstrings to test methods explaining the test purpose
- Update this README with new test categories as they are added