Watched Point Free Episode #41 A tour of snapshot testing; TIL `xed` CLI to run Xcode
Watched Episode #41 of Point Free about snapshot testing.
-
Side learning -
xed
CLI utility to run Xcode. It exists since Xcode 3. Interesting how have I missed it. -
In issue guys write snapshot tests for attributed strings library. Library on its own worth giving it a try. About snapshot testing. Definitely I should use it!
-
Fuck. Initialiser
UIImage(named:)
has two more optional parameters,bundle
andcompatibleWith
. I always have been opening images not from main bundle in two steps: building path and loading image withUIImage(contentsOfFile:)
.