Software and technology · Frontend
Frontend testing
How and what to test in a frontend: why to test the way a person uses the page, Vitest and its environment, Testing Library with role queries, user-event and async waits, mocking the network with MSW and mocks, end-to-end tests with Playwright, flaky tests, visual comparisons and accessibility with axe, and the common and costly mistakes. Based on the Testing Library, Vitest, MSW and Playwright documentation and Martin Fowler's guide on non-deterministic tests. Questions are in Spanish.
- Free
- Tests that teach
- Doomscrolling-style videos
100% free course. You learn with practice tests and short vertical doomscrolling-style videos.
- Sections
- 7
- Tests
- 8
- Questions
- 80
Truly free
No card, no expiring trial and no locked content: the whole course is yours.
Tests that teach
Every question explains why the answer is right and reviews your mistakes until you master them.
Doomscrolling-style videos
Short vertical videos explain each topic before its questions: you swipe and you learn.
What you will learn
- What to test in a frontend and why 1 tests · 10 questions
- Testing Library 2 tests · 20 questions
- Mocking the network 1 tests · 10 questions
- End-to-end tests with Playwright 1 tests · 10 questions
- Flaky, visual and accessibility tests 1 tests · 10 questions
- Common mistakes 1 tests · 10 questions
- Costly mistakes 1 tests · 10 questions
This is what a test looks like
Pick an answer to try it.
Tu equipo discute qué deberían comprobar los tests de un formulario de registro. ¿Qué principio guía a Testing Library?
Correct! Inside the course every question comes with its explanation. Not that one. Inside the course every question explains why.
Based on expert sources
- Guiding Principles — Testing Library
- About Queries — Testing Library
- Async Methods — Testing Library
- user-event: Introduction — Testing Library
- jest-dom: Custom jest matchers to test the state of the DOM — Testing Library
and 17 more sources
Start Frontend testing for free
Free, with tests and doomscrolling-style videos. All you need is your Google account.