Kane Cheshire

Results 92 comments of Kane Cheshire

Definitely an option, but my gut is telling me to go with snapshotting the frame of each label within the "main" view, if that makes sense?

Ah yes this is one of my biggest annoyances with snapshot testing, that and a snapshot recorded on an iOS 12 SE @2x isn't the same as an iOS 12...

Not exactly the same but maybe related to #50 as well.

I was thinking about this the other day when I tried to do the same thing, so definitely keen for this to be in PixelTest, however I would much prefer...

Good point, how about some sort of context function then? A bit like the BDD scenarios? I just think it might look a bit ugly/hard to read if it's just...

I like the idea of different sizes being built in. In relation to the multiple text sizes, I wrote a post on how to do this without using private APIs:...

If I remember correctly we can't use `drawHierarchy` because it doesn't work when you run the tests in a module that don't have an app target (because the views aren't...

It’s not too bad when you think about the fact we only really care about @1x, @2x and @3x. Width and height of snapshots are defined by the test rather...

Haha no the Uber/Facebook solution has the same problem and was the main driving factor behind writing my own in the first place. Theirs is very limited. This is the...

That's basically what we're doing as well. Really annoying!