Jul 4, 2022
While storing images in git does “work”, I’m not convinced how well it scales given the binary nature of images will bloat out the repository.
Git LFS helps somewhat and I’d argue is a must if using git.
However, last time I was using screenshot testing we started to use an Amazon S3 bucket instead for the image storage and a tool like happo.io for comparisons and approvals, similar to what Airbnb talk about using in their article https://medium.com/airbnb-engineering/better-android-testing-at-airbnb-a77ac9531cab