Skip to content

Instantly share code, notes, and snippets.

@chosa91
Last active October 11, 2019 10:44
Show Gist options
  • Save chosa91/4a08f02e1224b00bb2e56029fbe14c12 to your computer and use it in GitHub Desktop.
Save chosa91/4a08f02e1224b00bb2e56029fbe14c12 to your computer and use it in GitHub Desktop.
[INST][HW] Snapshot testing.md

Snapshot testing

Instructure HackWeek

Sources

Additional Cons

  • When a testCase got renamed or snapshot assertions reordered, it has to be managed by hand via deletion or rename on the disk
  • ViewController tests it has to be every time the same target device (but you could use trait / device overriding by the lib)
  • Problems with non-PNG images to Data and diff on them. CI vs dev-machine differences
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment