My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Bernardo Belchior

41 likes

·

566 reads

8 comments

Sandeep Panda
Sandeep Panda
Mar 9, 2023

Great summary!

1
·
Patricia Vega
Patricia Vega
Mar 9, 2023

Thx for good article!

1
·
Dimitri Ivashchuk
Dimitri Ivashchuk
Mar 10, 2023

Amazing article, thanks! I wrote this piece lost-pixel.com/blog/post/5-reasons-to-write.. about how visual tests could help engineers. It might be interesting to you! Also pretty eager to discuss Visual testing topics in general :D

1
·
·1 reply
Bernardo Belchior
Bernardo Belchior
Author
·Mar 11, 2023

Thanks, Dimitri! I’ll take a look!

·
Ákos Kőműves
Ákos Kőműves
Mar 10, 2023

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.

1
·
Kunal shah
Kunal shah
Mar 11, 2023

Thanks for great blog

1
·
Front Academy
Front Academy
Mar 9, 2023

Great article. I always felt that whenever a snapshot test fails, everyone just runs "update snapshots" and that's it.

·
·1 reply
Bernardo Belchior
Bernardo Belchior
Author
·Mar 11, 2023

Yeah, that’s what I’ve experienced as well!

·