back
( Session )
How to make premium Golden tests
#Intermediate·Lightning talk·11:40 am - 12:00 pm·Lollipop

Unit test is a way for developers to build robust and scalable software. Golden tests are one of the best tools to quickly spot regression in the code. Keep in mind that a test is only as good as it replicates the real-life usage of the software. But default Golden tests don't represent real-life devices. Let's make them better by changing the window's physical size, and pixel ratio. Let's load images, fonts, and icons. We can even represent notches or an open keyboard!