Skip to content

Testing Guide

Comprehensive testing ensures Querri remains reliable and maintainable.

Test individual functions and classes in isolation

Test interaction between components

Test complete user workflows

Terminal window
cd web-app
# Run all tests
npm run test
# Watch mode
npm run test:watch
# Coverage report
npm run test:coverage

Located in vitest.config.js

Terminal window
# Run E2E tests
npm run test:e2e
# Interactive mode
npm run test:ui
# Against Docker environment
npm run test:docker
Terminal window
cd server-api
# All tests
poetry run pytest
# Specific test file
poetry run pytest tests/test_projects.py
# With coverage
poetry run pytest --cov=api --cov=querri_core
# Verbose output
poetry run pytest -v
tests/
├── test_api/
│ ├── test_projects.py
│ ├── test_steps.py
│ └── test_auth.py
├── test_core/
│ ├── test_qdf.py
│ └── test_connectors.py
└── conftest.py