3 ms·
Probably the best way to test things like that is with a visual regression testing tool [1][2]. In practice these are difficult to get right and tend to produce
by steveax 10y ago
Probably the best way to test things like that is with a visual regression testing tool [1][2]. In practice these are difficult to get right and tend to produce a lot of false positives and negatives. See for instance Huxley [3]
[1]: https://github.com/BBC-News/wraith https://github.com/BBC-News/wraith
[2]: https://percy.io/ https://percy.io/
[3]: https://github.com/facebookarchive/huxley https://github.com/facebookarchive/huxley