Re:Tremor – The React library to build dashboards fast
by latchkey on Saturday July 29, 2023 @12:21PM
(#36921742)
Give people the tools to easily update the snapshots and read the diff's of PR's (github is quite good at this imho).
Re:Tremor – The React library to build dashboards fast
by c-hendricks on Saturday July 29, 2023 @06:28PM
(#36925405)
I kinda think "just blindly update the snapshots" is teaching the wrong lesson. We removed them from our projects and haven't missed them.
Visual diffing, cypress >>>> snapshots IMO.
Currently figuring out a strategy for introducing testing into an already large codebase and being very cautious of snapshot tests because of this. Experimenting with visual regression testing but early indicators suggest it could get very expensive if we're not careful about what is covered.