Deep DivesWeb
Testing
Testing guide for the RawStack Web component.
Unit tests
Component and utility tests run with Vitest.
npm run test # Watch mode
npm run test:run # Single run with coverageConfiguration: vitest.config.ts.
E2E tests
Browser automation tests run with Playwright.
npm run test:e2ePlaywright tests live alongside the feature they cover. They require the API and web dev server to be running.
Coverage
npm run test:run -- --coverageCoverage output is written to coverage/.