I will describe common techniques about writing unit test in swift for the UI. Also how to using snapshot testing to write easy unit tests for the UI, and the logic behind it.