DEV Community

Discussion on: Unit Tests and Snapshots are Fake News

Collapse
 
s_aitchison profile image
Suzanne Aitchison

I like snapshot tests but they're only as good as the Dev updating them... They're too easy to ignore & update when they fail - like you say, it's easy to have the attitude of "oh yeah of course I need to update them" rather than carefully inspect that the change is what you expected. Same goes for when someone is code reviewing that change... They need monitored carefully and I'm not sure they generally are

Collapse
 
thejohnstew profile image
John Stewart

I think that's it. I haven't been on a project where these were looked at that closely.