Isolating and testing individual UI components with dependency mocking, state injection, and visual snapshot verification.