Skip to main content

Testing

Docs checks

npm run docs:typecheck
npm run docs:build

Webapp checks

npm run webapp:lint
npm run webapp:test
npm run webapp:build
npm run webapp:typecheck

Direct workspace equivalents:

npm run lint --workspace=apps/webapp
npm run test --workspace=apps/webapp
npm run build --workspace=apps/webapp

E2E:

cd apps/webapp
npm run test:e2e
npm run test:e2e:ui

Backend checks

cd backend/core-api
python -m pytest tests/test_tasks_api.py -v
python -m pytest tests/test_*_api.py -v
python -m pytest tests/integration/ -m integration -v

Formatted runner:

cd backend/core-api
python scripts/formatters/run_all_tests.py
python scripts/formatters/run_all_tests.py --module tasks
python scripts/formatters/run_all_tests.py --benchmark

Authenticated backend tests may require:

export TEST_BEARER_TOKEN="<deep-id-access-token>"
export DEEP_ID_TEST_BEARER_TOKEN="<deep-id-access-token>"