// module
Frontend Testing: Jest & Vitest
AUD 620 (informational)
Responsible mentor
Imogen Walsh
Lead instructor; tests are documentation that runs.
Outcomes
- Stabilise one previously flaky suite with notes
- Write a testing policy paragraph your team could paste
- Mock an API error path with assertions on UI copy
Description
You adopt testing-library habits, stub fetch responsibly, and track flake rates over two sprints. Coverage is discussed as a guardrail, not a trophy.
Inside the track
- RTL queries with accessibility bias
- MSW-style mocking workshop
- Snapshot discipline guidelines
- Visual regression intro (tool-agnostic)
- Parallel test tuning
- CI matrix on a sample repo
Reviews
MSW week in Frontend Testing made API errors in my capstone UI feel … boring, which is good.
FAQ
One module overview; focus stays unit/integration.
We compare criteria; you are not required to license a vendor tool.
No native mobile harnesses.