FrontendQA/Testing

React Testing Library

Also written as Testing Library

The standard way to test React components by interacting with them the way a user would — finding buttons by their text and clicking them — rather than testing internal code details.

Think of it like

Test-driving a car by using the pedals and steering wheel, not by inspecting the engine's wiring.

Junior or senior?

A good sign that a frontend developer writes tests at all.

Senior sounds like

Explains why testing behaviour rather than implementation makes tests survive refactors.

Ask them

“What makes a frontend test break every time someone refactors, and how did you avoid that?”