Hey there! I have been exposed to snapshot tests recently and I am still trying to find out why they are so frequently used to test React applications. To me, they seem brittle, hard to maintain, vague and prone to false negatives. In my opinion, the...
engineering.belchior.me8 min read
Thanks for sharing this!
I've used jest since it came out and have never used snapshot testing.
For testing appearance, there are far better tools, IMO that work well with your existing integration tests.
As for functionality, that should work regardless of how something is styled on the UI.
Amazing article, thanks! I wrote this piece lost-pixel.com/blog/post/5-reasons-to-write-visua… about how visual tests could help engineers. It might be interesting to you! Also pretty eager to discuss Visual testing topics in general :D
Great article. I always felt that whenever a snapshot test fails, everyone just runs "update snapshots" and that's it.
Kunal shah
Software developer
Thanks for great blog