DEV Community

Discussion on: What was your win this week?

Collapse
 
engelmav profile image
Vincent Engelmann

awesome! this has been bugging me... (heh, get it!?) for a long time.

Got any quick pointers?

Collapse
 
chiangs profile image
Stephen Chiang

What I think is a really important theme I kept seeing to keep in mind is when writing tests, focus on behavior not implementation.

It makes sense because implementation can change without really breaking the intended behavior of the UI component.