svelte-client-testing-pyramid

Svelte Client Testing Pyramid

Simple Svelte app for filtering users with different types of tests

How to execute test types

Unit tests / Component tests

Exeecute unit-tests and component tests based on testing-library/svelte:

npm run vitest

Component tests

Execute component test with playwright-ct:

npm run test-ct

E2E / Perfromance / Accessibility

Execute playwright tests:

npm run test
  • Uses DevTools protocol and lighthouse for performance.
  • Uses Ax-Playwright for accessibility.

Top categories

Loading Svelte Themes