Testing
Write the right tests at the right level.
- QLT.06.01Testing strategyCoreMid-levelBeing written
- QLT.06.02Unit and component tests with Vitest and Testing LibraryCoreJuniorBeing written
- QLT.06.03End-to-end tests with PlaywrightCoreMid-levelBeing written
- QLT.06.04Visual, accessibility and contract testsMid-levelBeing written
Interview questions in this module
- How do you decide what to unit test vs e2e test?
- Why does Testing Library prefer
getByRole? - How do you test code that uses timers or
fetch? - How do you deal with flaky e2e tests?
- What makes a test brittle?