feat(tests): update testing framework for Electron and backend integrity checks, add new tests for loading status and main helpers

This commit is contained in:
Ivan
2026-04-18 00:06:21 -05:00
parent 89d2b1cc0f
commit 44c652699d
16 changed files with 397 additions and 99 deletions
+3 -5
View File
@@ -50,7 +50,7 @@ jobs:
timeout: 45
- name: Backend tests
id: backend-tests
timeout: 55
timeout: 120
- name: Localization tests
id: lang-tests
timeout: 20
@@ -93,13 +93,11 @@ jobs:
poetry run ruff format --check .
;;
frontend-tests)
pnpm run test -- --exclude tests/frontend/i18n.test.js
pnpm exec vitest run --exclude tests/frontend/LoadTimePerformance.test.js --exclude tests/frontend/i18n.test.js
pnpm exec vitest run --config vitest.electron.config.js
;;
backend-tests)
poetry run python -m pytest tests/backend -n auto \
--ignore=tests/backend/test_performance_hotpaths.py \
--ignore=tests/backend/test_memory_profiling.py \
--ignore=tests/backend/test_performance_bottlenecks.py \
--cov=meshchatx/src/backend
;;
lang-tests)