Question bank
Testing question bank
Unit, integration, and e2e — what to test at each layer.
Difficulty mix 28 questions · 5 categories
- Easy 2 7%
- Medium 21 75%
- Hard 5 18%
Pick a category and work it top to bottom. Your progress is remembered per category, in this browser. Read the Testing guide →
-
Testing Fundamentals
-
Unit Testing
-
Component & UI Testing
-
End-to-End & Integration
-
Strategy, Mocking & CI
Where to go next
📚 Learn & practice
Prompts get you drilling; these get you learning. Hand-picked, canonical sources — read the concept, then go deep.
Read
- Testing Library — Docs testing-library.com
Test behavior, not implementation.
- Kent C. Dodds — Testing Trophy kentcdodds.com
What to test at each layer, and why.
- Playwright — Docs playwright.dev
The modern end-to-end testing reference.
- Vitest — Guide vitest.dev
Fast unit testing for the Vite ecosystem.
Practice
- Testing JavaScript (free lessons) testingjavascript.com
Kent C. Dodds' hands-on testing course.