Test Directory Structure
This directory contains all test files organized by type:
Directory Structure
unit/
- Unit tests for individual componentstest_kb_browser.py
- Unit tests for Knowledge Browser component
integration/
- Integration tests for system componentstest-embeddings.js
- Tests Nebius embedding modelstest-enhanced-validation.js
- Tests URL validation systemtest-formatting.js
- Tests document analysis formattingtest-nebius-direct.js
- Direct Nebius client teststest-nebius.js
- Nebius integration teststest-url-validation.js
- URL validation system testsquick_test.py
- Quick integration test for KB Browser
e2e/
- End-to-end tests (placeholder for future tests)
Running Tests
Python Tests
# Run unit tests
python -m pytest tests/unit/
# Run integration tests
python tests/integration/quick_test.py
JavaScript Tests
# Run individual integration tests
node tests/integration/test-nebius.js
node tests/integration/test-embeddings.js
node tests/integration/test-url-validation.js
Test Categories
- Unit Tests: Test individual functions and classes in isolation
- Integration Tests: Test how different components work together
- End-to-End Tests: Test complete user workflows (to be added)