mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
Testing
Overview
Test suites for unit testing, integration testing, and end-to-end testing.
Location
Related E2E Tests
End-to-end tests are located in /e2e/ directory.
Test Configuration
- Vitest configuration:
vitest.config.ts - Playwright E2E configuration:
playwright.config.ts
Running Tests
# Unit tests
npm run test
# E2E tests
npm run test:e2e
# E2E tests with UI
npm run test:e2e:ui
# Linting
npm run lint
npm run lint:fix
Test Files in /src/tests/
Unit and integration tests for source code modules.
Test Files in /e2e/
End-to-end tests:
smoke.spec.ts- Smoke testslogin.spec.ts- Authentication testscrud.spec.ts- CRUD operation tests