Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SnapshotTesting

 SnapshotTesting

Pourquoi utiliser cet super techno ?

Avatar for Jeffrey Macko

Jeffrey Macko

January 17, 2019
Tweet

More Decks by Jeffrey Macko

Other Decks in Technology

Transcript

  1. Concept Pouvoir capturer a un instant T de n'importe quel

    data de l'app afin de la comparer dans le futur
  2. Avantage → Pull Request → Simple → Snapshot Anything →

    Customisable → Se base une technique qui existe depuis longtemps → Utiliser en prod
  3. Inconvéniant → Non natif aka une library de plus →

    Il faut que les elements a capturer soit simplement manipulable → Pafois les messages d'erreurs peuvent être cryptic
  4. Feature → Dozens of snapshot strategies. → Write your own

    snapshot strategies. → No configuration required. → Subclass-free. → Device-agnostic snapshots. → First-class Xcode support.
  5. Pour en savoir plus → PointFree - A tour of

    SnapshotTesting → SnapshotTesting Github