webroad.online
  1. 1Web
  2. 2HTML
  3. 3CSS
  4. 4JavaScript
  5. 5TypeScript
  6. 6Git
  7. 7Tooling
  8. 8React
  9. 9State management
  10. 10Next.js
  11. 11Forms
  12. 12Data and backend
  13. 13SEO
  14. 14Tailwind CSS
  15. 15Animations
  16. 16Testing
  17. 17Architecture

Testing

Kinds of tests, Vitest, Testing Library and Playwright.

  1. 1Why and what we testAutomated tests, Arrange-Act-Assert, kinds of tests and what's worth testing.
  2. 2Vitest: unit testsdescribe/test/expect, the right matchers, mocks and fake timers.
  3. 3Testing Library: components like a userQueries by role and label, get/query/find, user-event.
  4. 4Playwright: end-to-end testsA real browser, locators, auto-waiting and what's worth testing E2E.

Was this page helpful?

One tap — no account needed.