blueapron / styled-text

Declarative text styles and streamlined Dynamic Type support for iOS
MIT License
234 stars 5 forks source link

Snapshot testing #2

Closed huebnerob closed 7 years ago

huebnerob commented 7 years ago

This branch uses FBSnapshotTestCase and Nimble-Snapshots to add snapshot tests to StyledLabel. Check out StyledLabelSpec to see them in action. The views initialized there are compared with snapshots stored in Example/Tests/ReferenceImages/StyledLabelSpec/, you can view all the raw images there.